Re: RPATH status

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

 



Ulrich Drepper <drepper@xxxxxxxxxx> 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

Attachment: pgpAD11MK8Uvq.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux