RPATH status
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Sat Mar 10 18:18:05 UTC 2007
Ulrich Drepper <drepper at redhat.com> writes:
>> 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/...
>
> If you create such situations it's your own fault.
No; then the package is just broken because binaries can not find
required libraries.
> $ORIGIN is meant to be used with back references
I do not think so; more common case is plain $ORIGIN or $ORIGIN/lib, and
there it makes sense. Nobody can guarantee where /.. really points to.
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/32e8a8c5/attachment.sig>
More information about the fedora-devel-list
mailing list