如何解决ssh:/usr/lib64/libcrypto.so.10:没有可用的版本信息

时间:2015-11-06 10:23:00

标签: linux ssh openssl centos libcrypto

我正在尝试做ssh并得到以下消息:

]#ssh
ssh: /usr/lib64/libcrypto.so.10: no version information available (required by ssh)
ssh: /usr/lib64/libcrypto.so.10: no version information available (required by ssh)
ssh: /usr/lib64/libcrypto.so.10: no version information available (required by ssh)

CURL也发生了同样的事情:

]#curl
curl: /usr/lib64/libcrypto.so.10: no version information available (required by /usr/lib64/libssh2.so.1)
curl: try 'curl --help' or 'curl --manual' for more information

任何解决方案的人?

ldd ssh的输出如下:

]# ldd /usr/bin/ssh
/usr/bin/ssh: /usr/lib64/libcrypto.so.10: no version information available (required by /usr/bin/ssh)
/usr/bin/ssh: /usr/lib64/libcrypto.so.10: no version information available (required by /usr/bin/ssh)
/usr/bin/ssh: /usr/lib64/libcrypto.so.10: no version information available (required by /usr/bin/ssh)
        linux-vdso.so.1 =>  (0x00007fff2c5ff000)
        libfipscheck.so.1 => /lib64/libfipscheck.so.1 (0x00007fce80ce2000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fce80ac3000)
        libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fce80671000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007fce8046e000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fce80258000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fce8003e000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fce7fe07000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fce7fbed000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fce7f9a8000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fce7f6c1000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fce7f495000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fce7f290000)
        libnss3.so => /usr/lib64/libnss3.so (0x00007fce7ef51000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fce7ebbd000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fce7e9b8000)
        libplc4.so => /lib64/libplc4.so (0x00007fce7e7b3000)
        /lib64/ld-linux-x86-64.so.2 (0x00000033de000000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fce7e596000)
        libfreebl3.so => /lib64/libfreebl3.so (0x00007fce7e392000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fce7e187000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fce7df84000)
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fce7dd57000)
        libplds4.so => /lib64/libplds4.so (0x00007fce7db53000)
        libnspr4.so => /lib64/libnspr4.so (0x00007fce7d915000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fce7d70c000)

试图安装旧版本的openssl,但没有运气。

2 个答案:

答案 0 :(得分:2)

首先你需要完全卸载openssl然后尝试安装。 它应该工作正常。

答案 1 :(得分:0)

获取openssl rpm列表: rpm -qa | grep openssl

尽可能尝试卸载所有包: rpm -e

Downlaod openssl-1.0.1e-16.el6_5.15.x86_64.rpm

http://rpm.pbone.net/index.php3/stat/4/idpl/26955011/dir/centos_6/com/openssl-1.0.1e-16.el6_5.15.x86_64.rpm.html

更新openssl包: rpm -Uvh --replacepkgs openssl-1.0.1e-16.el6_5.15.x86_64.rpm