Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building on OSX with link=shared
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-02-24 11:20:42


On 2/23/16 11:36 PM, Vladimir Prus wrote:
>
> Robert,
>
> did you have the chance to try the below steps?

Not yet, but I'll try to get to this soon.

>
> On 18-Feb-16 4:34 PM, Vladimir Prus wrote:
>> On 15-Jan-16 3:28 AM, Robert Ramey wrote:
>>> I'm trying to build and test the serialization library on my OSX
>>> machine. This works fine when I use link=static. But
>>> when I'm using link=shared - I get the following message.
>>>
>>> ../../../tools/library_status/library_test.sh -j4 toolset=clang-03
>>> variant=debug link=shared test_iterators >b2.log &
>>>
>>> dyld: Library not loaded: @rpath/libboost_filesystem.dylib
>>> Referenced from:
>>> /Users/robertramey/WorkingProjects/modular-boost/libs/serialization/test/../../../bin.v2/libs/serialization/test/test_iterators.test/clang-darwin-03/debug/test_iterators
>>>
>>>
>>>
>>> Reason: image not found
>>> Trace/BPT trap: 5
>>
>> I had a chance to try firsthand, as follows:
>>
>> - In the root folder, run "./bootstrap.sh"
>> - Go to libs/program_options/test
>> - Run "../../../b2 parser_test_dll"
>> - Run "../../../b2 parser_test_dll toolset=clang-darwin"
>>
>> The above works fine, on OSX 10.11.3/15D13, with System Integrity
>> Protection enabled.
>>
>> Robert, could you try these 4 steps above and report what happens?
>>
>> - Volodya
>>
>
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk