skip to main content
Installation and Configuration on UNIX and Linux Systems : Setting Environment Variables : Library Search Path
 

Try DataDirect Cloud Now

Library Search Path

The library search path variable can be set by executing the appropriate shell script located in the ODBC home directory. From your login shell, determine which shell you are running by executing:
echo $SHELL
C shell login (and related shell) users must execute the following command before attempting to use ODBC-enabled applications:
source ./odbc.csh
Bourne shell login (and related shell) users must initialize their environment as follows:
. ./odbc.sh
The following list the library search path variable for supported operating systems:
*32-bit Driver
*LD_LIBRARY_PATH on Solaris, Linux, and HP-UX (Itanium)
*SHLIB_PATH on HP PA-RISC
*LIBPATH on AIX
*64-bit Driver
*LD_LIBRARY_PATH on Solaris, HP-UX (Itanium), and Linux
*LIBPATH on AIX
Executing these scripts sets the appropriate library search path environment variable.
The library search path environment variable must be set so that the ODBC core components and drivers can be located at the time of execution. After running the setup script, execute:
env
to verify that the installation_directory/lib directory has been added to your shared library path.