Originally posted by: Venkat_Sadineni
The basic error getting is:
Non-fatal POSTIN scriptlet failure in rpm package shared-mime-info-1.6-1.ppc
exec(): 0509-036 Cannot load program /opt/freeware/bin/update-mime-database because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libxml2.a(libxml2.so.2).
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded. <----------------------------This is the basic issue.
0509-022 Cannot load module libgcc_s.a(shr.o).
The issue is NOT with the gtk but the installed version of libgcc and gcc. The version of libgcc which you have installed does NOT have shared object file shr.o in libgcc_s.a archive.
The rpm which we have provided on AIX toolbox for libgcc does have this file as shown in the output below:
(0) root @ green53: 7.2.0.0: /home
# ar -X32_64 -tv /opt/freeware/lib/libgcc_s.a
rwxr-xr-x 0/0 1069002 Jul 19 06:41 2016 shr.o <-------------------------------------------------- File is present in our rpm.
This indicates that some how different rpm of libgcc and gcc would have installed in your environment. One thing I have noticed that in rpmListinfo file they have gcc-4.2.0-3.ppc which is not provided by AIX toolbox. We always include the older version of shared library with our new RPM to main the backward compatibility for all the RPMs.
Solution is quite straight:
1. Uninstall libgcc and gcc from the machine (if possible all other dependencies as well).
2. Install again using yum, so that it takes the correct RPM provided by us.
3. Install gtk2.