Could be problem where the libpython2.7.a is an archived library and yum cannot load it properly.
May need to use ar to extract it to get a so lib to point yum to?
On Thu, May 18, 2017 at 10:23 AM, Rodrigo Belli <rodrigobelli@xxxxxxxxx> wrote:
Hello, I'm starting with AIX and YUM and when tryed to use yum the problem below was shown:server:/tmp/yum/bundle$ yumThere was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was:Could not load module /opt/freeware/lib/python2.7/site-packages/rpm/_rpmmodule. so. Dependent module /opt/freeware/lib64/libpython2.7.a(libpython2.7.so ) could not be loaded. The module has an invalid magic number.Could not load module /opt/freeware/lib/python2.7/site-packages/rpm/_rpmmodule. so. Dependent module /opt/freeware/lib/python2.7/site-packages/rpm/_rpmmodule. so could not be loaded. Please install a package which provides this module, orverify that the module is installed correctly.It's possible that the above module doesn't match thecurrent version of Python, which is:2.7.13 (default, Jan 16 2017, 14:19:45) [C]If you cannot solve this problem yourself, please go tothe yum faq at:Please, could anyone help me?Thanks in advance!Rodrigo
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum