|
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)
Thanks!
Simon
SCK·CEN Disclaimer: www.sckcen.be/en/Legal-aspects/E-mail-disclaimer
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