improve error logging for when ORACLE_LIBRARY points to an invalid location.
correct core dump in error routine when ORACLE_LIBRARY is not NULL.
Authored by: tmh 2005-11-18
Parent: [r547]
Child: [r549]