Originally posted by: appd
I wanted to install git via yum which directed me to upgrade curl. Now post curl upgrade yum is broken.
Curl upgrade did the following
====================================================================
Package Arch Version Repository Size
====================================================================
Updating:
curl ppc 7.61.1-1 AIX_Toolbox 1.4 M
Installing for dependencies:
cyrus-sasl ppc 2.1.26-3 AIX_Toolbox 910 k
libssh2 ppc 1.8.0-3 AIX_Toolbox 742 k
openldap ppc 2.4.46-1 AIX_Toolbox 4.4 M
And yum error is
# yum --version
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
Could not load module /opt/freeware/lib/libcurl.a(libcurl.so.4).
Dependent module /usr/lib/libssl.a(libssl.so.1.0.0) could not be loaded.
The module has an invalid magic number.
Could not load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
Dependent module /opt/freeware/lib/libcurl.a(libcurl.so.4) could not be loaded.
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.7.15 (default, Sep 28 2018, 03:58:41)
[GCC 6.3.0]
If you cannot solve this problem yourself, please go to
the yum faq at: