Specifying ODBC Driver Managers

You need to make sure that your machine uses the correct ODBC driver manager to load the connector. To do this, set the library path environment variable.

If you are using a macOS machine, then set the DYLD_LIBRARY_PATH environment variable to include the paths to the ODBC driver manager libraries. For example, if the libraries are installed in /usr/local/lib, then run the following command to set DYLD_LIBRARY_PATH for the current user session:

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib

For information about setting an environment variable permanently, refer to the macOS shell documentation.

Linux or AIX

If you are using a Linux or AIX machine, then set the LD_LIBRARY_PATH environment variable to include the paths to the ODBC driver manager libraries. For example, if the libraries are installed in /usr/local/lib, then run the following command to set LD_LIBRARY_PATH for the current user session:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

For information about setting an environment variable permanently, refer to the Linux or AIX shell documentation.

Solaris

If you are using a Solaris machine, then set the LD_LIBRARY_PATH environment variable to include the paths to the ODBC driver manager libraries and the third-party libraries that are installed with the connector. For example, if the driver manager libraries are installed in /usr/local/lib and the 32-bit connector is installed in /opt/simba/impala, then run the following command to set LD_LIBRARY_PATH for the current user session:

export LD_LIBRARY_PATH=$LD_LIBRARY_ PATH:/usr/local/lib:/opt/simba/impala/lib/32

For information about setting an environment variable permanently, refer to the Solaris shell documentation.