Hi,<div>maybe you have to do &quot;ldconfig&quot; before using the shared library.</div><div><br></div><div>Vincenzo<br><br><div class="gmail_quote">On Fri, May 15, 2009 at 5:40 PM, Simon Pickles <span dir="ltr">&lt;<a href="mailto:sipickles@googlemail.com">sipickles@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
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.<br>
<br>
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:<br>
<br>
ImportError: libboost_python-gcc43-d-1_40.so.1.40.0: cannot open shared object file: No such file or directory<br>
<br>
I have this file on my system, and have copied it to /usr/local/lib<br>
<br>
simon@fenixurth:~/WorkingCopies/server/extended$ locate libboost_python-gcc43-d-1_40.so.1.40.0<br>
/home/simon/source/boost/bin.v2/libs/python/build/gcc-4.3.2/debug/libboost_python-gcc43-d-1_40.so.1.40.0<br>
/home/simon/source/boost/stage/lib/libboost_python-gcc43-d-1_40.so.1.40.0<br>
/home/simon/WorkingCopies/server/extended/libboost_python-gcc43-d-1_40.so.1.40.0<br>
/usr/local/lib/libboost_python-gcc43-d-1_40.so.1.40.0<br>
<br>
<br>
Why is this not found?<br>
<br>
Thanks<br>
<br>
Simon<br>
<br>
_______________________________________________<br>
Cplusplus-sig mailing list<br>
<a href="mailto:Cplusplus-sig@python.org" target="_blank">Cplusplus-sig@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/cplusplus-sig" target="_blank">http://mail.python.org/mailman/listinfo/cplusplus-sig</a><br>
</blockquote></div><br></div>