Re: [Proposal] binaries must not have rpath outside /usr/lib/<dir>/
Henrique de Moraes Holschuh writes ("Re: [Proposal] binaries must not have rpath outside /usr/lib/<dir>/"):
> On Wed, 30 Nov 2005, Ian Jackson wrote:
> > Just as one example, a program might reasonably have an rpath in
> > /usr/local/lib/<package>/. [...]
>
> Not in Debian, it doesn't. Since policy is about Debian *packages*, and
> Debian cannot ship much more than empty dirs under /usr/local, any rpath
> inside a Debian package pointing to /usr/local is a major error.
>
> Indeed, rpath is only acceptable for:
> 1. dynamically loaded modules/plugins
> 2. libraries that must live outside of ld.so directories
And these things might reasonably be searched for in
/usr/local/lib/foo as well as /usr/lib/foo.
That way the system administrator's locally installed plugins will
be found correctly.
Ian.
Reply to: