带-fPIC编译出来的libboost_python.a静态库,boost自带工具无法编译出这样的库。这个库可以解决如下编译错误问题!
/usr/bin/ld: libboost_python.a(from_python.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC libboost_python.a: could not read symbols: Bad value
2021-07-19 20:22:35
153KB
64位
静态库
1