我对openssl进行了升级,升级的步骤如下

下载最新的openssl

tar zvxf openssl-0.9.8k.tar.gz

cd openssl-0.9.8k

./config --prefix=/usr --openssldir=/usr/share/ssl -fPIC threads shared (注:-fPIC 生成位置无关代码,threads  使用线程,shared 建立共享库)

make  

(make test,此步骤可忽略)  

make install

ln -s /usr/lib/libcrypto.so.0.9.8 /lib/libcrypto.so.4

ln -s /usr/lib/libssl.so.0.9.8 /lib/libssl.so.4 

升级完了之后,发现VSFTP无法启动,启动时候报如下错误。

]# service vsftpd restart

Shutting down vsftpd: [FAILED]

Starting vsftpd for vsftpd: /usr/sbin/vsftpd: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

 

请那位大侠给个解觉方法,谢谢了,急啊!!