RPATH status

Ulrich Drepper drepper at redhat.com
Fri Mar 9 21:17:20 UTC 2007


Ulrich Drepper wrote:
> Christopher Aillon wrote:
>>>   3 /usr/lib64/firefox-2.0.0.2
>> Some of them are intentional, such as the above.  It's either rpath or
>> munging LD_LIBRARY_PATH at startup if you want a working firefox.
> 
> RPATH is perfectly fine for these purposes.

[Dang it!  why did it send the mail already?]

I meant to add:

If you want a relocatable package you can use $ORIGIN though.  So, if
the binary is in /usr/bin (e.g., devhelp), you make the RPATH

  $ORIGIN/../lib64/firefix-2.0.0.2

Then the package is relocatable (at least wrt to this binary).

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070309/6b362a49/attachment.sig>


More information about the fedora-devel-list mailing list