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

Bug#555982: debian-policy: RPATH in binaries and shared libraries



Vincent Danjean <Vincent.Danjean@ens-lyon.org> writes:

> Kurt Roeckx wrote:
>> On Fri, Nov 13, 2009 at 08:51:42PM +0100, Bill Allombert wrote:
>>> I would suggest a new lintian tag 'rpath-outside-usr-lib' that flags
>>> packages with rpath pointing outside /usr/lib and /lib. This clearly
>>> warrant a REJECT but have much less false positives than
>>> binary-or-shlib-defines-rpath.
>> 
>> I don't think we want an rpath to /lib/package/.
>> 
>> The only place rpath should point to is /usr/lib/package/
>> where package must be related to either the source or
>> binary package.
>
> With multiarch support, there are other authorized paths, aren't there ?
>
>   Regards,
>     Vincent

There should never be abn RPATH to /lib, /usrf/lib, /lib/arch-os-libc
or /usr/lib/arch-os-libc.

Isn't the only valid use of RPATH /usr/lib/<package>/...? With
multiarch maybe also /usr/lib/arch-os-libc/<package>/....

MfG
        Goswin



Reply to: