On Mon, 18 Aug 2008, Joachim Worringen wrote: > 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. > > Any recommendations?
Yes; don't do the crle thing in the first place when installing your package. Encourage developers who use your libraries to link their apps correctly, using -R/opt/DIS/lib. HTH, -- Rich Teer, SCSA, SCNA, SCSECA CEO, My Online Home Inventory URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer http://www.myonlinehomeinventory.com _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code