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


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


View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at