Ubuntu18.04 + Caffe + python3.7 + CUDA11 + cuDNN8编译记录
赤骥车队:
博主,
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined reference to `_Py_tracemalloc_config'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined reference to `PyUnicode_FromStringAndSize'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined reference to `_PyTraceMalloc_NewReference'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/caffe.bin.dir/build.make:139:tools/caffe] 错误 1
make[1]: *** [CMakeFiles/Makefile2:485:tools/CMakeFiles/caffe.bin.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
怎么解决
|