Originally posted by: appd
Hello
I'm trying to install yum on AIX 7.1 by following the information present here https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/61ad9cf2-c6a3-4d2c-b779-61ff0266d32a/page/efce1ad0-5088-40ae-8fca-8373b5e8f573/attachment/8ce8b4b7-86d8-4d32-8467-9f0234849e0b/media/YUM%20Overview.pdf
Now all the installation went well however yum commands when executed are throwing error shown below. Any clues what might be the reason or how to fix it.
Please note that pkgs installed were:
rpm.rte.4.13.0.5 (
https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/)
yum_bundle_v4.tar (
https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/)
# yum --version
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
Symbol resolution failed for /usr/opt/rpm/lib/librpm.so because:
Symbol poptSaveInt (number 266) is not exported from dependent
module /usr/lib/libpopt.so.
Symbol poptSaveLong (number 267) is not exported from dependent
module /usr/lib/libpopt.so.
Could not load module /opt/freeware/lib/python2.7/site-packages/rpm/_rpm.so.
System error: Exec format error
Examine .loader section symbols with the 'dump -Tv' command.
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.10 (default, Jun 22 2016, 05:57:59) [C]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
#AIXOpenSource#AIX-Open-Source-Software