Originally posted by: teletype
I've upgraded my server to AIX61TL7SP5 (from AIX61TL4SP2). After that locate and syslog-ng (maybe more) stopped working.
# locate exec(): 0509-036 Cannot load program locate because of the following errors: 0509-150 Dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.4/../../../libintl.a(libintl.so.8) could not be loaded. 0509-152 Member libintl.so.8 is not found in archive
From the installation logfile:
installp: APPLYING software
for: rpm.rte 3.0.5.52 Warning: the contents of the following RPM packages will be overwritten. If these packages did not come from the AIX Toolbox
for Linux Applications, it may be necessary to reinstall them. bzip2-1.0.5-1 gettext-0.17-1 info-4.12-1 popt-1.15-1 zlib-1.2.4-1
After some analysis I found:
# lslpp -w /opt/freeware/lib/libintl.a rpm -qf /opt/freeware/lib/libintl.a gettext-0.17-1
So libintl is NOT owned by any lpp package. It is owned by the gettext rpm.
However:
# lslpp -f rpm.rte | grep libint /usr/opt/freeware/lib/libintl.a
So it is owned by rpm.rte as well. Nasty!
If I reinstall those rpms locate etc. will work again. But if I look at the archive before and after the reinstall of gettext I see some differences:
before:
# ar -t /usr/lib/libintl.a libintl.so.1 intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o localcharset.o
And after the reinstallation of gettext:
# ar -t /usr/lib/libintl.a: libintl.so.8 libintl.so.1
So after the installation of gettext, as suggested by the log file, I lose some libraries.
What to do?
Just install gettext (and hope that everyting else will be working afterwards) or try to extract "libintl.so.8" from the second archive and add it to the first since that is the only one not in the large achive?
#AIX-Forum