[C++-sig] Trouble reinstalling boost

Vincenzo De Leo vdeleo at dsf.unica.it
Fri May 15 22:05:38 CEST 2009


Hi,maybe you have to do "ldconfig" before using the shared library.

Vincenzo

On Fri, May 15, 2009 at 5:40 PM, Simon Pickles <sipickles at 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
>
> 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
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20090515/3d5256a2/attachment.htm>


More information about the Cplusplus-sig mailing list