带-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
遇到相同问题,还没试,感谢作者
试试,看看问题能解决了不