Hello,
I removed all rpm on this server and I'm going to install yum. After a
rpm --nodeps -Uvh *.rpm I get the following dependency problem with a
yum update:
root:/home/root# yum check-update
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/libxml2.a(libxml2.so.2).
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 /opt/freeware/lib/libxml2.a(libxml2.so.2) 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) [C]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
root:/home/root# rpm -q libxml2
libxml2-2.9.9-1.ppc
root:/home/root# rpm -q libiconv
libiconv-1.16-1.ppc
root:/home/root# ar -X64 -t /opt/freeware/lib/libiconv.a
libiconv.so.2
shr4_64.o
root:/home/root# ar -t /opt/freeware/lib/libiconv.a
libiconv.so.2
shr4.o
shr.o
root:/home/root# ar -X64 -t /usr/lib/libiconv.a
shr4_64.o
root:/home/root# ar -t /usr/lib/libiconv.a
shr4.o
shr.o
root:/home/root# oslevel -s
7100-05-01-1731
I think libxml2 has to link libiconv from /opt/freeware and assume this problem is caused by Removal of symlink/files from /usr for AIX Toolbox packages because not all packages take care of the symlink/files removal from /usr at the moment.
When I create a symlink from /usr/lib/libiconv.a to /opt/freeware the update will work but subsequently I get troubles with gettext and glib2 with libiconv.
root:/opt/freeware/lib# yum check
gettext-0.19.8.1-5.ppc has missing requires of libiconv.a(shr4.o)
gettext-0.19.8.1-5.ppc has missing requires of libiconv.a(shr4_64.o)
glib2-2.56.1-2.ppc has missing requires of libiconv.a(shr4.o)
Error: check all
I'm afraid that the AIX toolbox packages are not in a clean state at the moment. I hope I'm wrong.
------------------------------
Emanuel Reisinger
------------------------------
#AIXOpenSource