Originally posted by: Frederick_Dunne
During an ugrade of IBM Filenet CPE, there were a set of RPM's that needed to be installed as required by Configuration Manager in Content Platform Engine.
OS = AIX 7.1
https://www-01.ibm.com/support/docview.wss?uid=swg27051235
libffi-3.2.1-1.aix6.1.ppc.rpm
glib2-2.52.2-1.aix6.1.ppc.rpm
gettext-0.19.8.1-1.aix6.1.ppc.rpm
ncurses-6.1-1.aix6.1.ppc.rpm
libXrender-0.9.8-1waixX11.aix6.1.ppc.rpm
fontconfig-2.11.95-3.aix6.1.ppc.rpm
libXft-2.3.2-3waixX11.aix6.1.ppc.rpm
atk-2.20.0-3.aix6.1.ppc.rpm
libpng-1.6.27-2.aix6.1.ppc.rpm
freetype2-2.8-1.aix6.1.ppc.rpm
lzo-2.10-1.aix6.1.ppc.rpm
pixman-0.34.0-1.aix6.1.ppc.rpm
cairo-1.14.6-2waixX11.aix6.1.ppc.rpm
harfbuzz-1.2.7-2.aix6.1.ppc.rpm
pango-1.40.1-2waixX11.aix6.1.ppc.rpm
intltool-0.51.0-2.aix6.1.noarch.rpm
gdk-pixbuf-2.35.1-2waixX11.aix6.1.ppc.rpm
rpm -ivh shared-mime-info-1.6-2.aix6.1.ppc.rpm
libxcb-1.12-2waixX11.aix6.1.ppc.rpm
xcb-proto-1.12-1.aix6.1.ppc.rpm
After updating the RPM libXrender from libXrender-0.9.8-1.ppc to libXrender-0.9.8-2waixX11.ppc the soft link for the archive /usr/lib started pointing to the AIX base version of libXrender.a. Update was done using yum.
root@sdssflnt6669 /root # ls -lrt /usr/lib/libXrender.a
lrwxrwxrwx 1 root system 30 Jul 22 10:18 /usr/lib/libXrender.a -> /usr/lpp/X11/lib/R7/libXrender.a
root@sdssflnt6669 /root #
Due to which during an upgrade, started seeing an error as mentioned in the screenshot (filenet_libxrender error.jpg).
Found that the base OS version of libXrender.a doesn't have the required library of libXrender.so.1 which is only available in the RPM version.
root@sdssflnt6669 /root # ar tv /usr/lpp/X11/lib/R7/libXrender.a
rwxr-x--- 300/300 70806 Apr 23 10:23 2018 shr.o
rw-r----- 300/300 5495 Oct 26 23:58 2007 libXrender.so.0
root@sdssflnt6669 /root # ar tv /opt/freeware/lib/libXrender.a
rwxr-xr-x 0/0 383091 May 29 06:13 2018 libXrender.so.1
rw-r--r-- 0/0 72911 May 29 06:13 2018 libXrender.so.0
root@sdssflnt6669 /root #
I then pointed out the soft link to the RPM version of archive and upgraded worked for a while but failed (see screenshot 2)
root@sdssflnt6669 /root # ls -lrt /usr/lib/libXrender.a
lrwxrwxrwx 1 root system 30 Jul 23 12:26 /usr/lib/libXrender.a -> /opt/freeware/lib/libXrender.a
root@sdssflnt6669 /root #
Now this time it was looking for a object shr_64.o which is not present in the archive of RPM version /opt/freeware/lib/libXrender.a . Although it is present in the base version of libXrender.a which is present in /usr/lpp/X11/lib/R7/libXrender.a
root@sdssflnt6669 /root # ar -X64 tv /opt/freeware/lib/libXrender.a
rwxr-xr-x 0/0 407535 May 29 06:13 2018 libXrender.so.1
rw-r--r-- 0/0 77577 May 29 06:13 2018 libXrender.so.0
root@sdssflnt6669 /root # ar -X64 tv /usr/lpp/X11/lib/R7/libXrender.a
rwxr-x--- 300/300 76635 Apr 23 10:23 2018 shr_64.o
rw-r----- 300/300 5737 Oct 26 23:58 2007 libXrender.so.0
root@sdssflnt6669 /root #
Now, If I go to my other server where I haven't updated the RPM version of libXrender, I could see there is an object shr_64.o present in that archive. See output below from a different server.
root@sdssflno6807 /root # rpm -qa | grep -i libXrender
libXrender-0.9.8-1.ppc
root@sdssflno6807 /root # ar -X64 tv /opt/freeware/lib/libXrender.a
rwxr-xr-x 0/0 69811 Aug 22 17:45 2013 libXrender.so.1
rw-r--r-- 0/0 77577 Aug 22 17:48 2013 libXrender.so.0
rwxr-xr-x 0/0 69811 Aug 22 17:48 2013 shr_64.o
root@sdssflno6807 /root #
Have two questions.
1. Why was the fact that updating the RPM version of libXrender then created a soft link pointing to the OS base version /usr/lpp/X11/lib/R7/libXrender.a and not /opt/freeware/lib/libXrender.a
2. When IBM is recommending the set of RPM's needed for the filenet upgrade for content engine which includes libXrender-0.9.8-2waixX11.ppc, then why is there shr_64.o object missing from the archive. I even tried installing libXrender-0.9.8-1waixX11.ppc and couldn't find that object in that archive either. Is this a known bug with this version of RPM? If yes, will there be newer version of RPM available on IBM developers network.
Command used for upgrade is
root@sdssflnt6669 /opt/IBM/FileNet/ContentEngine/tools/configure # ls -lrt configmgr
-rwxrwxr-x 1 wasadm wasadm 827888 Nov 30 2018 configmgr
root@sdssflnt6669 /opt/IBM/FileNet/ContentEngine/tools/configure #
#AIXOpenSource#AIX-Open-Source-Software