CentOS6升级openssl报错libcrypto.a(rsaz_exp.o): could not read symbols: Bad value

前端之家收集整理的这篇文章主要介绍了CentOS6升级openssl报错libcrypto.a(rsaz_exp.o): could not read symbols: Bad value前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

详细报错日志如下:

make[3]: Entering directory `/root/openssl-1.0.2g'

make[4]: Entering directory `/root/openssl-1.0.2g'
/usr/bin/ld: libcrypto.a(rsaz_exp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
libcrypto.a(rsaz_exp.o): could not read symbols: Bad value

collect2: ld returned 1 exit status


使用tar -zxvfopenssl-1.0.2g.tar.gz解压导致该问题,具体原因不明


改用如下方式重新解压文件后可重新编译安装正常:

tar -xf openssl-1.0.2g.tar.gz

原文链接:/centos/377044.html

猜你在找的CentOS相关文章