Library Search Path
- Last Updated: March 6, 2025
- 1 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
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.
For Linux, the name of the library search path environment variable
is LD_LIBRARY_PATH.
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.