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.
>
To my knowledge. Solaris does not have an equivalent to Linux's system
wide default search path.
Applications can specify their own run path using -R on the link line.
which frees them from users needing to set LD_LIBRARY_PATH. And as you
noticed, LD_LIBRARY_PATH can be used in the environment for users, but
properly built applications that specify -R won't need that.
-- Garrett
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code