Boost.python error with libboost_python.so.1.41.0: cannot open shared objects file

I have already installed Boost.Python. There was no erros during installation, but I have a problem. When I try to create my project, everything happens fine, but when I start my wrapped project, an error occurs:

import wrraped_project ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory 

I tried to copy the project in libboost_python.so.1.41.0 and lib into the project, etc. But every time I have a sme error.

+4
source share
2 answers

Check if the acceleration library files are in LD_LIBRARY_PATH .

If this does not help, check the file name is correct and create a symlink if it is different.

+5
source

Can you provide us with relevant content in the / usr / lib directory? I assume you are on Linux, right? And did you install Boost.Python with the package manager?

0
source

All Articles