One command you should never run on Solaris.

crle -l /var/ld/ld.config.

This screws up the entire linker and nothing will run anymore, bombing out with the following errors:

# crle
ld.so.1: s9_brand.so.1: fatal: /var/ld/ld.config/libc.so.1: Not a directory

Quick fix:

# echo ” > /var/ld/ld.config
# crle -u
# crle
Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /usr/lib (system default)
Trusted Directories (ELF): /usr/lib/secure (system default)

Took a lot of googling, and at least I understand how the run time linker works in better depth now. :P

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>