The Teradata ODBC Driver installation creates a set of symbolic links for the DataDirect ODBC Driver Manager. An application may be affected if the symbolic links are pointing to a newer or older version of the driver manager.
There are two ways to determine which driver manager is used.
- Set the driver manager symbolic link manually.
Such a command might look something like:
ln -sf /opt/teradata/client/17.20/lib/libodbc.so /usr/lib/libodbc.so
This will affect all applications on the system using ODBC.
- Set the LD_LIBRARY_PATH to the directory containing the libodbc.so file you want to use.
Such a command might look something like:
export LD_LIBRARY_PATH=/directory/to/driver/manager/
This will only apply to the particular session being run.
Refer to the README file for the DataDirect Driver Manager Compatibility.