undefined symbol: _ZdlPvm

强颜欢笑 提交于 2019-12-11 05:28:12

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!