3 Jun
2005
3 Jun
'05
6:38 a.m.
--On Wednesday, June 01, 2005 7:33 PM -0500 Dave Johnson <davejjohnson@gmail.com> wrote:
* You may also need to update your LD_LIBRARY_PATH and PATH (/usr/sfw & /opt/sfw ? )
No. No. No. Properly compile the application. If configure doesn't do it, set the environment variable LD_RUN_PATH before compiling the app. You should _never_ need to set LD_LIBRARY_PATH on Solaris for any properly compiled application. If you don't want to require a fixed install path, you can even set up relative run paths to look in /path/to/binary/exe/../../lib/ by adding '$ORIGIN/../lib' to the run path (although you'll have to mark that directory as trustworthy if the app is set[gu]id - see the crle(1) man page). -- Carson