报错:
/usr/bin/ld: warning: //root/anaconda3/lib/libgomp.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
//lib/x86_64-linux-gnu/libblkid.so.1: undefined reference to `uuid_unparse@UUID_1.0’
collect2: error: ld returned 1 exit status
CMakeFiles/pro.dir/build.make:1064: recipe for target ‘…/workspace/pro’ failed
make[2]: *** […/workspace/pro] Error 1
CMakeFiles/Makefile2:528: recipe for target ‘CMakeFiles/pro.dir/all’ failed
make[1]: *** [CMakeFiles/pro.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2
解决办法:
uuid 库冲突了,删掉 ~/anaconda3/lib
下的 uuid 库就行
具体的话 find 一下然后删