Getting an error "/usr/lib64/libcurl.so.4: undefined symbol: libssh2_agent_disconnect" after executing yum command
Issue
- After executing
yum command
getting an error/usr/lib64/libcurl.so.4: undefined symbol: libssh2_agent_disconnect
[root@example ~]# yum list
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/libcurl.so.4: undefined symbol: libssh2_agent_disconnect
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, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
Environment
- Red Hat Enterprise Linux 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.