Darren J Moffat wrote:
> Joachim Worringen wrote:
>> Jason King wrote:
>>>> Why is LD_LIBRARY_PATH needed at all ?  Why can't the
>>>> applications that need libraries fro /opt/DIS/lib be compiled properly
>>>> and specifiy -R/opt/DIS/lib when they are built ?
>>> Or '-R $ORIGIN/../lib' if they need to be relocatable?  Both work on 
>>> both Solaris as well as Linux (at least recent versions of gnu ld -- 
>>> I've personally tested on RHEL4U3 & 6), so both are reasonably cross 
>>> platform.
>>
>> The library in question is for LD_PRELOAD usage.
> 
> Then why are you asking about LD_LIBRARY_PATH then they do very 
> different things.

I didn't ask about LD_LIBRARY_PATH.

I stated that I don't want to require users to set it to make the linker 
successfully locate the LD_PRELOAD'ed lib.

  Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to