Boost logo

Boost Users :

Subject: Re: [Boost-users] It is possible to build a static version of boost for the MACOS
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-10-07 11:10:54


katherine Maguire wrote:

> Hi
>
> There seems to be bug with boost 1.36.0 and the bjam 03.1.16, as if you use link=static,shared
> then the shared libraries overwrite the static versions.

How could it be, given that they have different names?

> When I include libboost_thread-mt.a in my project build with the above command, my application
> requires the libboost_thread-mt.dylib.

What is the output of 'file libboost_thread-mt.a'?

>
> But if I only use link=static and include libboost_thread-mt.a, then it no longer requires
> libboost_thread-mt.dylib.
>
> Should bjam not produce libraries that have different names for the
> static and shared libraries?

It should not, and I cannot see how this can happen. Can you do go tools/build/v2/example/libraries,
run "bjam link=static,shared -n" there and post the output?

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net