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

Re: Bug#519941: Remove Policy permission for packages to modify ld.so.conf



Darren Salt <linux@youmustbejoking.demon.co.uk> writes:

> Perhaps this?
>
> * Install the binaries in /usr/lib/root.
> * Provide wrappers such as the following in /usr/bin:
>
>   #! /bin/sh -e
>   export LD_LIBRARY_PATH=/usr/lib/root"${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH}"
>   exec /usr/lib/root/"$(basename "$0")" "$@"

It's generally better to just set RPATH when building the binaries for
that case.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: