RPATH status

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Sat Mar 10 10:46:39 UTC 2007


Ulrich Drepper <drepper at redhat.com> writes:

> 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

Back references (/..) should be avoided there because they will break
when binary is in a symlinked path. E.g. with

| /usr/bin   -> /vol1/usr/bin
| /usr/lib64 -> /vol2/usr/lib64

the RPATH above would be resolved to /vol1/usr/lib64/...



Enrico 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070310/eb93e47f/attachment.sig>


More information about the fedora-devel-list mailing list