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

Re: RPATH status



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

Attachment: pgpeXjsVhfPg2.pgp
Description: PGP signature


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