Trying to install yum on AIX 7.1 and gets error:
# yum
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 /usr/lib/libglib-2.0.a(libglib-2.0.so.0).
0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
0509-152 Member libiconv.so.2 is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.
0509-150 Dependent module /usr/lib/libglib-2.0.a(libglib-2.0.so.0) 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.10 (default, Jun 22 2016, 05:57:59)
Also gets error for curl:
# curl
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libcurl.a(libcurl.so.4).
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 curl.
0509-150 Dependent module /opt/freeware/lib/libcurl.a(libcurl.so.4) could not be loaded.
0509-022 Cannot load module .
no LIBPATH
# echo $LIBPATH
------------------------------
Davis Kaitharath
------------------------------
#AIXOpenSource