Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building on OSX with link=shared
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-01-15 14:27:53


Does no one know how to do this? Have boost shared libraries ever been
tested on OSX?

On 1/14/16 4:28 PM, 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
>
> It seems that the test programs are not finding the shared libraries
> being built.
>
> Does anyone know what the most convenient way to fix this is. If I
> recall, it used to work sometime ago.
>
> Robert Ramey
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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