Boost logo

Boost-Build :

Subject: [Boost-build] rpath question with bjam building python extensions.
From: Simon (simon.vanmaercke_at_[hidden])
Date: 2010-11-24 05:21:28

I want to build a python extension using bjam. The extension links to
some libraries that are not in the default library path, including some
boost libraries (eg. libboost-python).

When trying to import the compiled module, i get complaints that python
is unable to locate those libraries.
After adding all directories to the LD_LIBRARY_PATH everything is fine.

Now the question: why is there no "rpath" addded to the shared library
that is created? And what is the easiest solution to get a working
python module without compiling statically, or creating a lot of
symbolic links? I guess I'm missing something the size of large building
here, but I can't find any clues.
(boost version is 1_42_0, gcc 4.1, ubuntu 9.10)


SCK·CEN Disclaimer:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at