[C++-sig] Trouble reinstalling boost

Simon Pickles sipickles at googlemail.com
Fri May 15 17:40:10 CEST 2009


Hi,

I had a nice build system set up on my VM ubuntu 8.10 server until I 
broke the VM. :) After rebuild the VM I am obviously reinstalling all 
the packages.

Boost Python is causing me trouble. I built it from svn using bjam, 
boost 1_40_0. I can compile my python extension without error but when I 
run it the python code that uses it, I get:

ImportError: libboost_python-gcc43-d-1_40.so.1.40.0: cannot open shared 
object file: No such file or directory

I have this file on my system, and have copied it to /usr/local/lib

simon at fenixurth:~/WorkingCopies/server/extended$ locate 
libboost_python-gcc43-d-1_40.so.1.40.0
/home/simon/source/boost/bin.v2/libs/python/build/gcc-4.3.2/debug/libboost_python-gcc43-d-1_40.so.1.40.0
/home/simon/source/boost/stage/lib/libboost_python-gcc43-d-1_40.so.1.40.0
/home/simon/WorkingCopies/server/extended/libboost_python-gcc43-d-1_40.so.1.40.0
/usr/local/lib/libboost_python-gcc43-d-1_40.so.1.40.0


Why is this not found?

Thanks

Simon



More information about the Cplusplus-sig mailing list