[C++-sig] libboost_python-gcc43-mt.so or without "mt"?

Werner Joergensen wjoergensen at yahoo.com
Thu May 28 22:32:30 CEST 2009


Dear list participants,

I have installed boost including the python lib using the boostrap.sh installation script, and now I have  the following libraries under /lib (linux system):
libboost_python-gcc43-mt-1_39.a
libboost_python-gcc43-mt-1_39.so
libboost_python-gcc43-mt-1_39.so.1.39.0
libboost_python-gcc43-mt.a
libboost_python-gcc43-mt.so

However when I build a python extension module with bjam, and when I import the newly built module in python, the problem is:
    $ ipython
    In [1]: import myModule
    ImportError: libboost_python-gcc43-1_39.so.1.39.0: cannot open shared object file: No such file or directory

Of course, I can copy and rename the mt-libraries to the expected library name. But is there a possibility to build the python extension so that the exististing libboost_python-gcc43-mt.so will be linked instead of some other name? Can I configure which libboost_python will be used somewhere in boost-build.jam or user-config.jam or Jamroot?

Thanks
Werner



      


More information about the Cplusplus-sig mailing list