libssh2.so.1: cannot open shared object file: No such file or directory

Ed Soltani

Registered
Mar 12, 2018
1
0
1
London
cPanel Access Level
Root Administrator
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libssh2.so.1: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]

If you cannot solve this problem yourself, please go to
the yum faq at:
Yum.baseurl.org/wiki/Faq
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

That error message suggests the libssh2 RPM was removed from your system. We can provide some basic information to help you troubleshoot the issue, but generally this is something you should report to your hosting provider or system administrator.

Do you happen to use any non-standard YUM repo files in the /etc/yum.repos.d/ directory? You can check with a command like this:

Code:
ls -al /etc/yum.repos.d/
Thank you.