-
Notifications
You must be signed in to change notification settings - Fork 18.6k
caffe make all error, /usr/bin/ld: cannot find -lboost_python3 #6063
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
Comments
MacOS? |
You need to create symbolic links to redirect "libboost_python3.so" to "libboost_python-py35.so", in /usr/lib/x86_64-linux-gnu. |
@cicido its Ubuntu 17.10 |
@storylike |
What kind of errors are you encountering? |
@storylike |
This is not an issue with Caffe itself but an installation problem. When compiling from source, please make sure you've got all dependencies installed. Please do not post usage, installation, or modeling questions, or other requests for help to Issues. Use the caffe-users list instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe. Please read the guidelines for contributing before submitting an issue or a pull request. |
thanks, your method is right for me @storylike |
i just can not find files whose name contains "python3.so" or "python-py35.so". I use find / -name "*_python*.so" and got /usr/lib64/libboost_python-mt.so None of them seem to be the right one. But I have python3.5.0 in my ubuntu 16.04 well. |
I wanted to build Caffe and faced the same issue. Unfortunately, none of the answers work in my case. I checked the location of lboost_python by the following command: I found the lboost_python libraries and here are some of them:
Then in the Makefile.config file I changed the following line: |
Dear All,
During the compilation of caffe from source i got this error:
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0
/usr/bin/ld: cannot find -lboost_python3
collect2: error: ld returned 1 exit status
Makefile:572: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1
Any one can help how to solve it?
The text was updated successfully, but these errors were encountered: