Download your driver manager of choice from their official website.
Typical driver managers used on Unix are iODBC or unixODBC.iODBC is the choice made by Apple for their Mac Operating System, and unixODBC is a popular choice on Unix systems.
Based on your application bitness, you need to match the bitness (32- or 64-bit) of your installed Teradata ODBC driver and the Driver Manager bitness you install.
Tip: When using your application or testing the connection, if you encounter errors related to “ELF”, it is likely due to you mismatching the bitness between application, driver manager and/or Teradata ODBC driver.
Download the correct bitness or compile the source for the right bitness (typically based on the CFLAGS settings).
You can have both a 32-bit and 64-bit version of the driver manager installed. They default to different locations and your odbc.ini, and odbcinst.ini should reference them correctly.
You can typically check the bitness of a file on Unix systems by using the “file” command in a shell, and pass in the filename with path if needed.
- Download the correct bitness or compile the source for the right bitness (typically based on the CFLAGS settings).
- Install your driver manager. You may need root access depending on where you install. Consult the driver manager's documentation for more information.