warning - bug in solaris x86 ldd breaks install of gtk+-2.4.10



i'm writing this to warn the other three users of solaris x86 in the world. :) for solaris 8 and 9, on x86 (maybe other versions as well), the sun ldd chokes on some library names, including, for example, libgtk-x11-2.0.so.0.400.10. this manifests in at least two ways:

1. when you run ldd against the library, the first line printed out has garbage (or sometimes it just crashes) for the library name. eg

usira:/home/troll/timf/src/gnome/2.4/build/gtk+-2.4.10/gtk/.libs $ ldd libgtk-x11-2.0.so.0.400.10
        ù =>     (file not found)
libgdk_pixbuf-2.0.so.0 => /opt/app/gnome-2.4//lib/libgdk_pixbuf-2.0.so.0 libgdk-x11-2.0.so.0 => /opt/app/gnome-2.4//lib/libgdk-x11-2.0.so.0
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
libpangoxft-1.0.so.0 => /opt/app/gnome-2.4//lib/libpangoxft-1.0.so.0
        libpangox-1.0.so.0 =>    /opt/app/gnome-2.4//lib/libpangox-1.0.so.0
        libpango-1.0.so.0 =>     /opt/app/gnome-2.4//lib/libpango-1.0.so.0
        libatk-1.0.so.0 =>       /opt/app/gnome-2.4//lib/libatk-1.0.so.0
libgobject-2.0.so.0 => /opt/app/gnome-2.4//lib/libgobject-2.0.so.0 libgmodule-2.0.so.0 => /opt/app/gnome-2.4//lib/libgmodule-2.0.so.0
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libglib-2.0.so.0 =>      /opt/app/gnome-2.4//lib/libglib-2.0.so.0
        libiconv.so.2 =>         /opt/app/lib/libiconv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgcc_s.so.1 =>         /opt/lang/gcc-3.3.2/lib/libgcc_s.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libXft.so.2 =>   /opt/app/gnome-2.4//lib/libXft.so.2
        libfreetype.so.6 =>      /opt/app/lib/libfreetype.so.6
        libz.so.1 =>     /usr/lib/libz.so.1
libfontconfig.so.1 => /opt/app/fontconfig-2.2.0/lib/libfontconfig.so.1
        libXcursor.so.1 =>       /opt/app/gnome-2.4//lib/libXcursor.so.1
        libXrender.so.1 =>       /opt/app/gnome-2.4//lib/libXrender.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
libpangoft2-1.0.so.0 => /opt/app/gnome-2.4//lib/libpangoft2-1.0.so.0
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libexpat.so.0 =>         /opt/app/expat-1.95.7/lib/libexpat.so.0


2. when you run applications which link against the shared object in question, they crash.


NOTE!!! This is not a complaint about gtk, just an attempt to warn others who might be bitten by this.

-tim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]