- Ensure the environment variables are defined.
XXXX=<ODBC_Install_Dir>\lib (where XXXX = LIBPATH on AIX ; LD_LIBRARY_PATH on SOLARIS/LINUX; SHLIB_PATH on HP)
- Verify the bitness of the hsodbc / dg4odbc executable (file hsodbc ; file dg4odbc) and install the corresponding 32-bit or 64-bit ODBC drivers.
32-bit applications require 32-bit ODBC drivers while 64-bit applications require 64-bit ODBC drivers. On Unix, run the "file" command on the hsodbc/dg4odbc executable under $ORACLE_HOME/bin/ to check the bitness.