[gnome-love] Epiphany, yelp linking wrong libnspr4



Hiyas,

Epiphany and yelp are linking against the wrong gekko libraries. I build
gnome with jhbuild into /opt/gnome2 and mozilla built successfully. But
epiphany and yelp are linking against the system
(Ubuntu) /usr/lib/libnspr4.so

This is a problem, as the system libraries aren't built with debug
symbols giving me incomplete stack traces.

Observe ldd /opt/gnome2/bin/epiphany:
        libgtkembedmoz.so
=> /opt/gnome2/lib64/xulrunner-1.8.1.2pre/libgtkembedmoz.so
(0x00002b4e70fef000)
        libxpcom.so
=> /opt/gnome2/lib64/xulrunner-1.8.1.2pre/libxpcom.so
(0x00002b4e7120f000)
        libplds4.so => /usr/lib/libplds4.so (0x00002b4e71412000)
        libplc4.so => /usr/lib/libplc4.so (0x00002b4e71616000)
        libnspr4.so => /usr/lib/libnspr4.so (0x00002b4e7181b000)
        libxslt.so.1 => /opt/gnome2/lib64/libxslt.so.1
(0x00002b4e71a55000)
        libglade-2.0.so.0 => /opt/gnome2/lib64/libglade-2.0.so.0
(0x00002b4e71c9f000)
        libgnome-desktop-2.so.2
=> /opt/gnome2/lib64/libgnome-desktop-2.so.2 (0x00002b4e71ebc000)
        libgnomeui-2.so.0 => /opt/gnome2/lib64/libgnomeui-2.so.0
(0x00002b4e720d6000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002b4e7238a000)
<snip>

Setting LD_LIBRARY_PATH has _no_ effect on which libnspr4.so is used. I
think this is because of --rpath setting.

gcc version 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)
GNU ld version 2.17.50 20070103 Ubuntu


Any tips?

-- 
Craig Keogh <cskeogh bigpond net au>




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