After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 397557 - links wrong libnspr4, mozilla rpath in wrong order
links wrong libnspr4, mozilla rpath in wrong order
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal minor
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2007-01-17 09:31 UTC by Craig Keogh
Modified: 2008-08-08 09:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Craig Keogh 2007-01-17 09:31:34 UTC
I'm building epiphany from jhbuild. Epiphany links the system libnspr4.so, it should link the jhbuild libnspr4.so.

Epiphany link looks like:

<snip>
-Wl,--rpath -Wl,/opt/gnome2/lib64 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/opt/gnome2/lib64 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/opt/gnome2/lib64/xulrunner-1.8.1.2pre

Notice, "-Wl,--rpath -Wl,/opt/gnome2/lib64/xulrunner-1.8.1.2pre" is at the end. It should be before "-Wl,--rpath -Wl,/usr/lib".

Adding the following to my .jhbuildrc allowed me to work around the problem:
os.environ['LDFLAGS'] = '-Wl,--rpath -Wl,/opt/gnome2/lib64/xulrunner-1.8.1.2pre'
Comment 1 Christian Persch 2007-01-17 13:06:29 UTC
I don't see a way to do that... the other rpaths come from LDADD while epiphany's rpath is in LDFLAGS (src/Makefile.am)...
Comment 2 Craig Keogh 2008-08-08 09:03:54 UTC
Not a problem anymore with the move to Webkit. Webkit is installed in /opt/gnome2/lib64, and '-Wl,--rpath -Wl,/opt/gnome2/lib64' is listed first.