Joachim Worringen wrote:
> Greetings,
> 
> our software stack is installed to /opt/DIS, and contains some libraries 
> that everyone should be able to use w/o setting LD_LIBRARY_PATH. This 
> can easily be achieved using "crle -l /opt/DIS/lib -u"  in the 
> installation script/package (same thing for 64bit).


> If this is the right way to *add* the path - what is the right way to 
> *remove* it on uninstall? crle does not seem to provide such an option, 
> /var/ld/ld.config is a binary file (why the hell...?), and parsing the 
> output of "crle" is not what I consider a solid solution.

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 ?


-- 
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to