[Solved] ERR:/usr/local/lib/libcrypto.so.1.0.0: no version information available

Solution:

locate libssl.so.1.0.0
sudo rm /usr/local/lib/libssl.so.1.0.0
sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/local/lib/libssl.so.1.0.0
sudo rm /usr/local/lib/libcrypto.so.1.0.0

Use ldd /usr/bin/openssl to check and then delete is more reliable

I. Use the wget command to report an error.

➜ nginx wget
wget: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by wget)
wget: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib/libssl.so.1.0.0)
wget: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib/libssl.so.1.0.0)
wget: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib/libssl.so.1.0.0)
wget: missing URL
Usage: wget [OPTION]… [URL]…

Try `wget –help’ for more options.

2.use ldd /usr/bin/openssl query references
➜ nginx ldd /usr/bin/openssl
/usr/bin/openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/bin/openssl)
/usr/bin/openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/bin/openssl)
/usr/bin/openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib/libssl.so.1.0.0)
/usr/bin/openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib/libssl.so.1.0.0)
/usr/bin/openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/lib/libssl.so.1.0.0)
linux-vdso.so.1 => (0x00007ffe65931000)
libssl.so.1.0.0 => /usr/local/lib/libssl.so.1.0.0 (0x00007f3a09aae000)
libcrypto.so.1.0.0 => /usr/local/lib/libcrypto.so.1.0.0 (0x00007f3a0965a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3a09291000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3a0908c000)
/lib64/ld-linux-x86-64.so.2 (0x000055bb1a158000)
➜ nginx ll /usr/local/lib/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 41 10月 24 21:19 /usr/local/lib/libcrypto.so.1.0.0 -> /usr/local/openssl/lib/libcrypto.so.1.0.0

3.delete
➜ nginx sudo rm /usr/local/lib/libcrypto.so.1.0.0
[sudo] password for brian:

4. Return to normal
➜ nginx wget
wget: missing URL
Usage: wget [OPTION]… [URL]…

Try `wget –help’ for more options.

 

https://askubuntu.com/questions/830466/libcrypto-so-1-0-0-no-version-information-available-required-by-ssh

Similar Posts: