Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install boost, specifically its python component (python-35) #3

Open
YeonghyeonKim opened this issue May 8, 2018 · 1 comment

Comments

@YeonghyeonKim
Copy link

I tried to install boost, but i got still this error message when i try 'cmake ..'
Boost version: 1.45.0

Boost include path: /usr/local/include

Could not find the following Boost libraries:

      boost_python-py35

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:33 (find_package)

-- Configuring incomplete, errors occurred!

Please give me the answer

@lefthandwriter
Copy link

This is a problem of:
i. Different libboost_python3x.so version
ii. Variation of libboost name (libboost_python vs libboost_python-py vs etc)

For my case (Ubuntu 18.04) Boost is in /usr/lib/x86_64-linux-gnu, so something along these lines is a workaround:

cd /usr/lib/x86_64-linux-gnu
sudo ln -s libboost_python-py3x.so [libboost_python_name].so

where libboost_python-py3x.so is the installed version you have
[libboost_python_name] is the name convention and version used by CMakeLists.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants