Originally posted by: Nitish Mishra
Hi !
So, what I understand is, that, you have recently updated gtk and dependent libraries because eclipse 4.6 onwards requires an upgrade to gtk/dependent packages.
You are seeing this issue because of missing shr_64.o object from /opt/freeware/lib/libXrender.a after setting LIBPATH as in previous reply.
You can find this shr_64.o object in /usr/lib/libXrender.a
This means that you have some libraries still installed which are built with /usr/lib/libXrender.a and that's why they require shr_64.o
But, the fact is that we have removed any /usr/lib/libXrender.a dependency from ALL gtk/dependent packages because new packages requires upgraded version of libXrender. The gtk packages which are right now available on Toolbox are built with /opt/freeware/lib/libXrender.a and thats why they require libXrender.so.1. So, this makes clear that why you are getting exact same error in eclipse forum when NOT setting LIBPATH.
This also makes clear that some libraries you have missed to upgrade. Most probably cairo, pango or libXft.
But to avoid any kind of mix-up for you, I am providing the full package list below which you can download from toolbox manually or you can use yum (if yum is configured in your system) and install/update.
These are the minimum packages required for eclipse 4.6 onward to run from AIX toolbox:
(Note: Install latest version/release of below packages, if available. Many of the packages in below list have HIGHER RELEASE NUMBER/VERSION available on toolbox).
MANDATORY UPDATE OF GCC:
gcc-6.3.0-1.aix7.1.ppc.rpm
gcc-cplusplus-6.3.0-1.aix7.1.ppc.rpm
gmp-6.1.2-1.aix6.1.ppc.rpm
libgcc-6.3.0-1.aix7.1.ppc.rpm
libmpc-1.0.3-1.aix6.1.ppc.rpm
libstdcplusplus-6.3.0-1.aix7.1.ppc.rpm
libstdcplusplus-devel-6.3.0-1.aix7.1.ppc.rpm
mpfr-3.1.2-3.aix6.1.ppc.rpm
gcc-cpp-6.3.0-1.aix7.1.ppc.rpm
Required Dependencies of gtk and gtk itself:
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
gtk2-2.24.30-2waixX11.aix6.1.ppc.rpm
Some package may be installed on system. After installing all the packages set the LIBPATH as:
export LIBPATH=/opt/freeware/lib:/usr/lib
and launch the eclipse based GUI application.
This may require some effort from your side. But if everything is as per above collection and workaround. GTK/eclipse will work for sure.
Hope it helps.
Best Regards.