Hi,maybe you have to do "ldconfig" before using the shared library.
Vincenzo On Fri, May 15, 2009 at 5:40 PM, Simon Pickles <sipick...@googlemail.com>wrote: > 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 > > si...@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 > > _______________________________________________ > Cplusplus-sig mailing list > Cplusplus-sig@python.org > http://mail.python.org/mailman/listinfo/cplusplus-sig >
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig