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

Re: binary-or-shlib-defines-rpath documentation

Felipe Sateler <fsateler@gmail.com> writes:
> Charles Fry wrote:

>> I finally found some pseudo-official documentation on this:
>>    http://wiki.debian.org/RpathIssue
>> which confirms what you said:
>>    "Currently, the only valid use of this feature in Debian is to add
>>    non-standard library path (like /usr/lib/<package>) to libraries that
>>    are only intended to be used by the executables (or other libraries)
>>    within the package."

> Shouldn't those cases be fixed via LD_LIBRARY_PATH?

No.  Basically, you should never use LD_LIBRARY_PATH if you can possibly
help it; it causes a bunch of really obnoxious problems like causing
sub-proceses run by that process to potentially get the wrong libraries.
It's too large of a lever.

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

Reply to: