LD search path
From http://bwachter.lart.info/solaris/solfaq.html# crle Default configuration file (/var/ld/ld.config) not found Default Library Path (ELF): /lib:/usr/lib (system default) Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
Now you can add a new path -- for example /usr/local/lib -- with crle -l 'path'. This might look like this:
# crle -l /lib:/usr/lib:/usr/local/lib # crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib
Please note that you have to specify all directories you want in the search path unless you use the -u (update) switch:
# crle -l /usr/local/lib -u # crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib
There are no comments on this page. [Add comment]