-
Notifications
You must be signed in to change notification settings - Fork 881
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
Unable to find the requested Boost libraries. #1995
Comments
Did you install the boost python libraries too? I think there's something special you need to do here when you install boost using homebrew. |
Do you mean boost-python or boost-python3?I have already installed these libraries by typing |
Whichever one corresponds to the version of python you are using. I think this is a homebrew problem and I don't use homebrew, so I can't really help here. If you have set BOOST_ROOT to the value where your boost libraries are installed and cmake is finding at least some of the libraries, then I'm not sure what else to do. A question I always need to ask: Do you really need to build your own version of the RDKit? Is there a reason you can't use the anaconda builds? Unless you are planning on doing C++ development for the RDKit, it's almost always enough to use the conda version. |
I need RDkit because this project, and the author stress that we must build the RDkit from source.If we use anaconda there will be some problem in the following steps. Anyway, thx for your reply! |
I think I've found the solution to this problem. The reason for the problem is cmake want to find libboost_python3.dylib in your library folder but in fact this file is called libboost_python3x.dylib(x is depended on your python version), so you just need to type following commands in your terminal:
and you can solve this error! |
Should be fixed by #1864 in a future RDKit release. |
Description:
Hello,
I tried to use the method Building from source to install RDkit, there something wrong when I entered
cmake ..
,the terminal shows thatBut I have added /usr/local/Cellar/boost/lib and /usr/local/Cellar/boost-python/lib to the ~/.bash_profile.
My ~/.bash_profile is written like this:
How can I solve this error?
The text was updated successfully, but these errors were encountered: