[csw-maintainers] wierd problem with unresolved symbols, gtk, firefox, dynamic loader

Philip Brown phil at bolthole.com
Tue Jun 1 21:23:18 CEST 2010


So.... I have a new libgtk, that seems to be relatively good. except
that its having mysterous unresolved symbol problems with firefox.

ld.so.1: firefox-bin: fatal: relocation error: file
/opt/csw/lib/sparcv8/libgtk-x11-2.0.so.0: symbol gdk_font_equal:
referenced symbol not found
ld.so.1: firefox-bin: fatal: relocation error: file
/opt/csw/mozilla/firefox/lib/libxul.so: symbol gtk_micro_version:
referenced symbol not found


I use the older version of libgtk, it works fine.
I swap out nothing but CSWgtk to new lib, and it blows up with many
errors like the above.

yet here's the thing:  THE SYMBOLS ARE IN THE GTK/GDK libraries!
its just that for some reason, (probably to do with the firefox stuff
being defined with LAZYLOAD flags), libgtk is not being pulled in for
libxul, and libgdk is not being pulled in for libgtk.

Yet the wierd thing is... when I use LD_DEBUG=files... both libgdk and
libgtk, have ALREADY been loaded into memory!! ?? !!


Can anyone shed some light on this mess?

for the record:

$ ldd /opt/csw/mozilla/firefox/lib/libxul.so|grep libg
        libgobject-2.0.so.0 =>   /opt/csw/lib/sparcv8/libgobject-2.0.so.0
        libglib-2.0.so.0 =>      /opt/csw/lib/sparcv8/libglib-2.0.so.0
        libgtk-x11-2.0.so.0 =>   /opt/csw/lib/sparcv8/libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /opt/csw/lib/sparcv8/libgdk-x11-2.0.so.0
        libgdk_pixbuf-2.0.so.0 =>
/opt/csw/lib/sparcv8/libgdk_pixbuf-2.0.so.0
        ....

so its not like the linker doesnt know how to find libs, for that
particular library.

 ??


More information about the maintainers mailing list