skip to main content
Configuring Hybrid Data Pipeline Driver for ODBC : Configuring an ODBC data source on UNIX and Linux systems : Setting environment variables manually : Library Search Path
  

Try Now
Library Search Path
The library search path environment variable must be set so that the driver and ODBC core components can be located at the time of execution.
Library search path environment variable. The name of the library search path environment variable depends on the platform you are using.
*LD_LIBRARY_PATH on HP-UX IPF, AIX 5.2 and later, Linux, and Oracle Solaris
*LIBPATH on AIX 5.1 and earlier
*SHLIB_PATH on HP-UX PA-RISC
In the following examples, LD_LIBRARY_PATH is being set to point to the location of shared libraries for an installation on /opt/odbc.
In the C shell, you would set this variable as follows:
setenv LD_LIBRARY_PATH /opt/odbc/lib
In the Bourne or Korn shell, you would set it as:
LD_LIBRARY_PATH=/opt/odbc/lib;export LD_LIBRARY_PATH
To verify that the LD_LIBRARY_PATH environment variable has been set, execute the env command and review the output to confirm.