Re: RPATH status

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

 



On Wed, Mar 14, 2007 at 08:14:20PM -0700, Ulrich Drepper wrote:
> Enrico Scholz wrote:
> > Sorry, when $ORIGIN was really designed to allow things like '$ORIGIN/..',
> > then the design of $ORIGIN is flawed.
> 
> Nonsense.  The whole assumption that every single moronic file system
> setup must be supported is wrong.  Not everything that is technically
> possible is worth it.  A ground rule must be that /usr/bin and
> /usr/lib{,64} mustn't be symlinks.

Well, they actually can, but they either need to point to sibling
directories (say /usr/bin -> /opt/foo/bar/bin, /usr/lib -> /opt/foo/bar/lib,
/usr/lib64 -> /opt/foo/bar/lib64) or if for whatever reason they are not,
then you need symlinks in both locations (say /usr/bin -> /opt/foo/bar/bin,
/usr/lib -> /opt/bar/baz/lib, then you'd need also /opt/foo/bar/lib ->
../../bar/baz/lib and /opt/bar/baz/bin -> ../../foo/bar/bin).

This is not just for the sake of $ORIGIN/.., e.g. gcc does a similar search
for libraries and other relocatable packages do so as well.

	Jakub

-- 
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