I'm administering sun solaris hardware now. I've been learning a lot about the subtle differences in solaris from Linux. For instance in place of ldconfig you use something called crle.
Just running crle will give you information regarding the libraries in LD_LIBRARY_PATH.
# crle
Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib
Trusted Directories (ELF): /usr/lib/secure (system default)
Command line:
crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib
If you wish to add a directory,
# crle -l /lib:/usr/lib:/usr/local/lib:/directory_you_wish_to_add
Make sure that the directories listed before by crle are also included.