问题
I am using apollocaffe and Reinspect. Apollocaffe
is in c++ library and Reinspect
is in python that uses apollocaffe library
.
I build apollocaffe using g++-4.8.5.
When I run the command python -m pdb train.py config-- config.json
, I have this error,
ImportError: '/home/xxx/Softwares/Libraries/apollocaffe_22_3_17/build_debug/lib/libcaffe.so: undefined symbol: _ZdlPvm'
What could be wrong?
回答1:
Based on this (theano) thread, looks like you're using incompatible gcc versions. Try to move to another gcc version. (See also this)
回答2:
The problem could be Cuda was built with one g++ version and Apollocaffe was built with another g++ version. Now I rebuild all with same g++ version and now it works well.
来源:https://stackoverflow.com/questions/46172985/undefined-symbol-zdlpvm