Ok. so nobody warned you the default behavior for crle is stupid.. In OSUNIX this will be one of the first RFE that we do, but for now if you're on Solaris/OpenSolaris and need to fix your crle
-------------
crle -u -l /lib:/usr/lib
crle -64 -u -l /lib/64:/usr/lib/64
-------------
If you've shutdown or restarted you may also have to use my OpenSolaris Rescue guide
For future reference:
You should *not* use crle.. The cases where you need to use it are so limited that it shouldn't even really factor into your daily developer habits.
1) elfedit has examples of how to change the search path for a binary when you don't have the source
(This assumes you're using Sun cc.. you are using Sun cc right?)
2) If you have the source and or are building something yourself.. -L / -R is your best friend..
-L == link path..
-R == runtime path..
Add these to your LDFLAGS when building anything from /opt or $HOME or wherever..
Another good habit is to always include -i in your CFLAGS since it causes LD_OMGISHOULDNTUSE_THIS to be ignored.