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

unable to install boost with python #1184

Closed
sanjeev87 opened this issue Sep 30, 2014 · 1 comment
Closed

unable to install boost with python #1184

sanjeev87 opened this issue Sep 30, 2014 · 1 comment

Comments

@sanjeev87
Copy link

I am using a mac OSX 10.9
When I run brew install --build-from-source --with-python --fresh -vd boost, the usr/local/lib directory does not contain the libboost_python* files.

As a result , when I run make pycaffe, I get the following error,
Sanjeevs-MacBook-Pro:caffe srao$ make pycaffe
/usr/bin/clang++ -shared -o python/caffe/_caffe.so python/caffe/_caffe.cpp
.build_release/lib/libcaffe.a -stdlib=libstdc++ -fPIC -DNDEBUG -O2 -DCPU_ONLY -I/Users/srao/anaconda/include -I/Users/srao/anaconda/include/python2.7 -I/Users/srao/anaconda/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I.build_release/src -I./src -I./include -I/System/Library/Frameworks/vecLib.framework/Versions/Current/Headers/ -Wall -Wno-sign-compare -Wno-unneeded-internal-declaration -framework vecLib -L/Users/srao/anaconda/lib -L/usr/local/lib -L/usr/lib -lpthread -lglog -lgflags -lprotobuf -lleveldb -lsnappy -llmdb -lboost_system -lhdf5_hl -lhdf5 -lopencv_core -lopencv_highgui -lopencv_imgproc -lboost_thread-mt -lcblas -lboost_python -lpython2.7
ld: library not found for -lboost_python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [python/caffe/_caffe.so] Error 1

Please help.

@shelhamer
Copy link
Member

Follow-up in #1193.

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