Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution to missing library files in libssl.so.10?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article is to share with you about the libssl.so.10 missing library file solution is what, the editor feels very practical, so share with you to learn, I hope you can learn after reading this article, say no more, follow the editor to have a look.

Openssl has been upgraded in RHEL6.5. If the old version is OpenSSL 1.0.1e-fips, just install the latest openssl-1.0.1g-1.x86_64.rpm, but if the old version is less than 1.0.1e, then directly installing 1.0.1g will cause the problem of missing libssl.so.10 and libcrypto.so.10 library files. The following problems will occur when starting a service or installing yum directly. And one of the most serious problems is that the SSH cannot be connected.

Question:

[root@localhost test] # yum install opensslThere was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was: libssl.so.10: cannot open shared object file: No such file or directory Please install a package which provides this module, orverify that the module is installed correctly. It's possible that the above module doesn't match thecurrent version of Python, which is:2.6.6 (r266 which is:2.6.6 84292, Jun 18 2012, 14:18:47) [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq

Cause: the soft link corresponding to the lost library file causes

Solution:

1. First check the version of the libssl.so library file under the / usr/lib64/ directory (in the case of a 32-bit system, the path is / usr/lib/). Mine is libssl.so.1.0.0.

[root@localhost /] # ll / usr/lib64/libssl.so*-rwxr-xr-x. 1 root root 479012 Apr 9 17:31 / usr/lib64/libssl.so.1.0.0

2. Check the / usr/lib64/ directory again

[root@localhost /] # ll / usr/lib64/libcrypto.so*-rwxr-xr-x. 1 root root 2200149 Apr 9 17:31 / usr/lib64/libcrypto.so.1.0.0

3. Create a soft link (the ln source is the corresponding version of the library file found above):

Ln-s / usr/lib64/libssl.so.1.0.0 libssl.so.10ln-s / usr/lib64/libcrypto.so.1.0.0 libcrypto.so.10

OK, this problem has been solved, but the openssl version is still the old version. If you want to upgrade to 1.0.1g, in the case of a rhel system, first execute the yum update openssl command to upgrade the openssl version, and then install the 1.0.1g version. If you have the latest 1.0.1g version in the yum source, you can directly yum update to the latest.

You can also install the corresponding rpm package directly

In virtual machine environment, you can mount a local ISO image to install it.

The above is the solution to the missing library files of libssl.so.10. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report