The Teradata ODBC Driver installer sets the following symbolic links in /usr/lib64:
> ls -l libodbc*.so libodbc.so -> /opt/teradata/client/17.20/lib64/libodbc.so libodbcinst.so -> /opt/teradata/client/17.20/lib64/libodbcinst.so
(Similar links exist for 32-bit installations in /usr/lib.)
This will invoke the DataDirect Driver Manager.
- To use unixODBC driver manager, change the symbol links in /usr/lib64 or /usr/lib:
> sudo rm libodbc.so > sudo rm libodbcinst.so > sudo ln -s libodbc.so.2 libodbc.so > sudo ln -s libodbcinst.so.2 libodbcinst.so > ls -l libodbc.so libodbcinst.so ... libodbcinst.so -> libodbcinst.so.2 ... libodbc.so -> libodbc.so.2
- To use iODBC driver manager, change the symbol links in /usr/lib64 or /usr/lib:
> sudo rm libodbc.so > sudo rm libodbcinst.so > sudo ln -s libodbc.so.2 /usr/local/lib/libiodbc.so > sudo ln -s libodbcinst.so.2 /usr/local/lib/libiodbcinst.so > ls -l libodbc.so libodbcinst.so ... libodbc.so -> /usr/local/lib/libiodbc.so.2 ... libodbcinst.so -> /usr/local/lib/libiodbcinst.so.2
It is assumed here that your iODBC driver manager is installed in /usr/local/lib. If not, use the appropriate path instead of /usr/local/lib when executing 'ln -s'.