Greetings, all,
Built "caffe". Clone from git as of 2015 July 11. OpenCV installed via apt-get from Ubuntu (14.04) repository. Installed all 64-bit libboost packages (v. 1.54 current). Installed Anaconda3, current as of 2015 July 11. Installed CuDNN from NVidia repository, same date.
The Anaconda python3.4 binary is found first in $PATH, added PYTHONPATH to .bashrc including CAFFE_HOME. CAFFE_HOME is /usr/local/caffe-150712 with symlink to /usr/local/caffe. Added CuDNN, CUDA, etc to LD_LIBRARY_PATH.
"Caffe" builds, passes 'make test' and 'make runtest'. Completes 'make runtest' without error other than concluding "you have disabled two tests". Completes 'make pycaffe'. I copy all of build directory to /usr/local/caffe, using `cp build/* /usr/local/caffe`. `ldconfig -v` and all of this.
Now I try 'ipython' and then "import caffe" and also 'python' gives same results. Help please! Possibly some linker flag is needed to use boost_python properly?
Output follows, library is found, but symbols are unresolved.
In [1]: import caffe
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-1cca3aa1f8c5> in <module>()
----> 1 import caffe
/usr/local/caffe-150712/python/caffe/__init__.py in <module>()
----> 1 from .pycaffe import Net, SGDSolver
2 from ._caffe import set_mode_cpu, set_mode_gpu, set_device, Layer, get_solver
3 from .proto.caffe_pb2 import TRAIN, TEST
4 from .classifier import Classifier
5 from .detector import Detector
/usr/local/caffe-150712/python/caffe/pycaffe.py in <module>()
11 import numpy as np
12
---> 13 from ._caffe import Net, SGDSolver
14 import
caffe.io 15
ImportError: /usr/local/caffe-150712/python/caffe/_caffe.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE