russell aspinwall writes: > I know setting LD_LIBRARY_PATH can break applications but that was the > quickest way to get qtdemo to find the libraries in /usr/openwin/sfw/lib. > Should I need to write a wrapper script to set the environment to run the > qtdemo? Maybe if the X library locations can be rationalised to /usr/X11/lib > then it would not be necessary.
The usual way to deal with this problem is with the linker's "-R" option. In the same place where you specified this: -L/usr/openwin/sfw/lib add this: -R/usr/openwin/sfw/lib and you should then not need to use the LD_LIBRARY_PATH hack. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org