The original question is pasted in Caffe-Users.
I compiled caffe by using the GCC4.8.2 successfully, and the MINIST
examples can run correctly. But when I tried to use caffe in python, I met with the problem as follows:
I use Anaconda2 in my computer, and the version of GCC in OS is GCC4.4.6. In order to compile caffe with GCC4.8.2, I installed it in /opt
. What's more, the output of ldd _caffe.so
is as follow:
It seems the _caffe.so
linked to libc.so.6
of GCC4.8.2 correctly. What's more, the cv2.so
compiled by GCC4.8.2 runs into the same problem. Any advice can be useful.
$CAFFE_HOME/python
into$PYTHONPATH
. – Beanocean Jun 14 '17 at 10:20make runtest
passed all test, None of them failed. There is no error in running the command toolcaffe
, the problem just occurs in python. – Beanocean Jun 14 '17 at 11:26