Darren Salt <[email protected]> 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 ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to