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下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native