Originally posted by: Tin_Cup
After installing yum on AIX server that should act as AIX repo-server, i get these errors:
# yum repolist
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-152 Member libcrypto.so is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/python2.7/site-packages/pycurl.so 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.16 (default, Mar 12 2019, 21:23:24)
[GCC 6.3.0]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
some info:
# dump -Hv /opt/freeware/lib/python2.7/site-packages/pycurl.so
/opt/freeware/lib/python2.7/site-packages/pycurl.so:
***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000001 0x0000007b 0x0000015c 0x00000083
#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
0x00000006 0x00001bf8 0x000008e3 0x00001c7b
***Import File Strings***
INDEX PATH BASE MEMBER
0 /opt/freeware/lib:/usr/vac/lib:/usr/lib:/lib
1 libcurl.a libcurl.so.4
2 libcrypto.a libcrypto.so
3 libc.a shr.o
4 librtl.a shr.o
5 .
# rpm -qf /opt/freeware/lib/python2.7/site-packages/pycurl.so
python-pycurl-7.19.3-1.ppc
# rpm -qi python-pycurl-7.19.3-1.ppc
Name : python-pycurl
Version : 7.19.3
Release : 1
Architecture: ppc
Install Date: Tue Jun 25 13:04:07 CEST 2019
Group : Development/Languages
Size : 529412
License : LGPLv2+
Signature : (none)
Source RPM : python-pycurl-7.19.3-1.src.rpm
Build Date : Mon Jun 13 13:31:00 CEST 2016
Build Host : green52.in.ibm.com
Relocations : (not relocatable)
URL : http://pycurl.sourceforge.net/
Summary : A Python interface to libcurl
Description :
PycURL is a Python interface to libcurl. PycURL can be used to fetch
objects identified by a URL from a Python program, similar to the
urllib Python module. PycURL is mature, very fast, and supports a lot
of features.
# rpm -qa|sort
AIX-rpm-7.2.3.15-10.ppc
a21910071410d103-0400401800009-1.noarch
bash-4.4-3.ppc
bzip2-1.0.6-2.ppc
ca-certificates-2016.10.7-2.ppc
cloud-init-0.7.5-4.3.ppc
createrepo-0.10.3-3.noarch
curl-7.52.1-1.ppc
cyrus-sasl-2.1.26-3.ppc
db-6.2.32-2.ppc
deltarpm-3.6-1.ppc
df1000f114108a03-210301-1.noarch
expat-2.2.6-1.ppc
fdupes-1.51-1.ppc
gdbm-1.12-1.ppc
gettext-0.19.8.1-3.ppc
glib2-2.56.1-2.ppc
gmp-6.1.2-1.ppc
info-6.4-1.ppc
libffi-3.2.1-2.ppc
libgcc-8.1.0-2.ppc
libiconv-1.14-22.ppc
libstdc++-8.1.0-2.ppc
libxml2-2.9.9-1.ppc
libxml2-python-2.9.9-1.ppc
libyaml-0.1.4-2.ppc
ncurses-6.1-2.ppc
openldap-2.4.45-3.ppc
openssl-1.0.2n-1.ppc
puppet-agent-5.5.1-1.ppc
pysqlite-1.1.7-2.ppc
python-2.7.16-1.ppc
python-PyYAML-3.11-2.ppc
python-argparse-1.2.1-1.noarch
python-boto-2.34.0-1.noarch
python-cheetah-2.4.4-2.ppc
python-configobj-5.0.5-1.noarch
python-deltarpm-3.6-1.ppc
python-devel-2.7.16-1.ppc
python-iniparse-0.4-1.noarch
python-jsonpatch-1.8-1.noarch
python-jsonpointer-1.0-1.noarch
python-oauth-1.0.1-1.ppc
python-prettytable-0.7.2-1.noarch
python-pycurl-7.19.3-1.ppc
python-pyserial-2.7-1.ppc
python-requests-2.4.3-1.noarch
python-setuptools-0.9.8-2.noarch
python-six-1.10.0-1.noarch
python-tools-2.7.16-1.ppc
python-urlgrabber-3.10.1-1.noarch
python-xml-0.8.4-1.ppc
readline-7.0-5.ppc
sqlite-3.27.1-1.ppc
sudo-1.8.21p2-1.ppc
unzip-5.51-1.ppc
xz-5.2.4-1.ppc
xz-libs-5.2.4-1.ppc
yum-3.4.3-7.noarch
yum-metadata-parser-1.1.4-2.ppc
yum-utils-1.1.31-2.noarch
zip-2.3-3.ppc
zlib-1.2.11-1.ppc
How to fix this?