Progress
ODBC Driver Guide


Running an ODBC Client Application on UNIX

In order to run an ODBC client application on UNIX you must set the system shared library path to include the directory containing the ODBC driver DLC/odbc/lib as follows in Table 4–4:

Table 4–4: Runtime System Shared Library Path Settings 
Platform
System Shared Library Path Setting
Solaris
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DLC/od
bc/lib 
IBM AIX
LIBPATH=$LIBPATH:$DLC/odbc/lib 
Hewlett Packard
SHLIB_PATH=$SHLIB_PATH:DLC/odbc/lib 

Setting the appropriate library search path environment variable (LD_LIBRARY_PATH on Solaris, SHLIB_PATH on HP/UX, or LIBPATH on AIX) enables the ODBC application to locate the ODBC core components and drivers at the time of execution.

Alternatively, you can set the ODBC environment variable and then run the script $DLC/bin/slibod_env:

$ DLC/bin/proenv
. $DLC/bin/slibod_env 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095