Boost logo

Boost Users :

Subject: [Boost-users] It is possible to build a static version of boost for the MACOS
From: kittymaguire (katherine_maguire_at_[hidden])
Date: 2008-10-03 07:18:16


Hi

I have tried to build the boost libraries on the MacOS as a static library
by giving bjam the --buid_type=static but it still built the dynamic version
of the libraries.

In order to get my application to run, the library load location has to be
either in /usr/lib or from the folder where the application started.

The problem is that our application is based on xulrunner, and we use a stub
application to start xulrunner which is in a different folder. We use the
boost libraries in an XPCOM dylib which is loaded from the resources
components folder, and for this dylib to be loaded correctly the boost
libraries need to placed in the stub application folder. The first time you
start the application it will run on but will then fail to run the second
time you start it as libraries are being loaded from a location that
xulrunner allows it components to run from.

So either I need to build the static version of the libraries or change the
runtime load path of the libraries.

Does anyone know how I do any of these

Thanks

-- 
View this message in context: http://www.nabble.com/It-is-possible-to-build-a-static-version-of-boost-for-the-MACOS-tp19795883p19795883.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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