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.
Similar Posts:
- Python Installation WARNING: pip is configured with locations that require TLS/SSL, however the ssl module…
- [Solved] Accessing MSSql under Ubuntu prompts SSL Handshake failed with OpenSSL error
- OS X: equivalent to WGet of Linux
- [Solved] Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
- Centos6 upgrades glibc-2.17 to solve requirements: libc. So. 6 (glibc)_ 2.14) (64bit) error resolution
- The source code installs the git tool, which shows /usr/local/lib64/libcrypto.a(dso_dlfcn.o) undefined reference to `dlopen’
- Python3 ImportError: No module named _ssl [How to Solve]
- ImportError: /lib64/libc.so.6: version `GLIBC_2.17′ problem solved
- [Solved] Error in installing RPM package in CentOS – no key
- Ubuntu failed to install libssl dev (depending on aptitude to manage degraded software) and recorded the list of installed software in dpkg