Apparently, the facility for setting a system-wide shared library path for executable programs was finally implemented in Solaris 2.7. The same facility is used in Solaris 2.7, 2.8 and 2.9.
The command used to interograte and modify the shared libaries is
crle, a rather tortious acronym for configure runtime
linking environment. This command modifies the files in
/var/ld, particularly the /var/ld/ld.config
file, which tells the system which directories to search for shared
libraries.
A word of caution -- it is important to use the -u
option when adding a directory to the search path -- otherwise the
command will replace the existing search path with the new search
directory. Which is almost certainly not what you wanted to happen!
Back to the page of Not So Frequently Asked Questions.