首页 > 其他 > 详细

openssl编译出错解决

时间:2014-04-04 01:08:35      阅读:504      评论:0      收藏:0      [点我收藏+]

tar -jxvf trafficserver-3.0.2.tar.bz2

./configure --prefix=/usr/install/trafficserver --with-user=cache --with-group=cache --enable-debug


出现很奇怪的报错:

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(md5_dgst.o): relocation R_X86_64_32 against `a local symbol‘ can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value


查了下资料说是openssl的问题,要编译成shared,所以用如下参数编译openssl

./config --prefix=/usr/local/ssl --enable-shared


这样就能解决上面的错误!!!

openssl编译出错解决,布布扣,bubuko.com

openssl编译出错解决

原文:http://blog.csdn.net/chary8088/article/details/22891357

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!