htslib库安装过程中的编译错误,libz.a: could not read symbols: Bad value
2017-12-06 00:00
1081 查看
问题:/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
参考:http://www.blogjava.net/haha0515/archive/2009/09/30/296957.html
方法:重新编译bzip2,编译时加上参数-fPIC
-fPIC
Position independant code, needed for shared libraries.
/usr/local/lib/libz.a: could not read symbols: Bad value
参考:http://www.blogjava.net/haha0515/archive/2009/09/30/296957.html
方法:重新编译bzip2,编译时加上参数-fPIC
-fPIC
Position independant code, needed for shared libraries.
相关文章推荐
- /usr/local/lib/libz.a: could not read symbols: Bad value(64 位 Linux)
- 安装ucspi-tcp的时候出现报错:/lib64/libc.so.6: could not read symbols: Bad value
- /usr/local/lib/libz.a: could not read symbols: Bad value
- R_X86_64_32 & could not read symbols: Bad value编译
- /usr/local/lib/libz.a: could not read symbols: Bad value(64 位 Linux)
- /usr/local/lib/libz.a: could not read symbols: Bad value
- TTserver 编译/usr/local/lib/libbz2.a: could not read symbols: Bad value解决
- 动态库编译时(引用静态库)could not read symbols: Bad value
- 解决vsftpd编译时的错误:could not read symbols: File in wrong format
- make error: libneon.a: could not read symbols: Bad value
- php make报错:/usr/local/openssl/lib/libssl.a: could not read symbols: Bad value
- GCC 源码编译 mpc mprf gmp 不用make(否则会有lib/libgmp.so: could not read symbols: File in wrong format等错误)
- libpcap库在64位系统上编译产生错误原因:Could not read symbols:?
- 解决vsftpd编译时的错误:could not read symbols: File in wrong format
- lib_clapack.a(dlasyf.o): could not read symbols: File in wrong format---- 交叉编译opencv2.0遇到的错误解决
- /usr/local/lib/libltdl.a(ltdl.o): could not read symbols: Bad value
- recompile with -fPIC /usr/local/lib/libboost_python.a: could not read symbols: Bad value
- R_X86_64_32 & could not read symbols: Bad value
- Apache 安装过程中出错/usr/lib/libexpat.so: could not read symbols: File in wrong format的解决办法
- 解决 liblog4cpp.a: could not read symbols: Bad value