make all failed

45 views
Skip to first unread message

che...@hyperworksimaging.com

unread,
Nov 13, 2017, 6:20:38 AM11/13/17
to Caffe Users
I tried installing caffe from here: https://yangcha.github.io/Caffe-Conda/

I ran into a problem with the following error:

[ 82%] Built target caffe
[ 82%] Linking CXX executable caffe
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_AsUTF8String'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_FromFormat'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyModule_Create2'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_FromString'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `_Py_fopen'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_FromStringAndSize'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyBytes_AsString'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyBytes_Size'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_AsWideChar'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_FromEncodedObject'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_AsUTF8'
/home/chetanreddy/anaconda3/lib/libboost_python.so: undefined reference to `PyUnicode_InternFromString'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/caffe] Error 1
make[1]: *** [tools/CMakeFiles/caffe.bin.dir/all] Error 2
make: *** [all] Error 2



Reply all
Reply to author
Forward
0 new messages