日期:2014-05-16 浏览次数:20598 次
1,下载最新的openSSL版本 1.0.1g
下载地址:http://download.csdn.net/detail/xiangrong530/7171927
2, 解压
tar zxvf openssl-1.0.1g.tar.gz
3, cd openssl-1.0.1g
4,./config shared zlib
5, make
6 make install
7,
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
8 配置库文件搜索路径
echo
"/usr/local/ssl/lib" >> /etc/ld.so.conf
ldconfig
-v
9再次查询版本
open