Feedback
Did this article resolve your question/issue?

   

Article

System error 126 when connecting with the Teradata ODBC driver

Information

 
TitleSystem error 126 when connecting with the Teradata ODBC driver
URL Name000039496
Article Number000161493
EnvironmentProduct: Connect/Connect64 for ODBC Teradata Driver
Version: All supported versions
OS: All supported platforms
Database: Teradata
Application: All supported platforms
Question/Problem Description
The error below is received when making a connection.
Steps to Reproduce
Clarifying Information
Error MessageSpecified driver could not be loaded due to system error 126
Defect Number
Enhancement Number
Cause
The error message occurs when the Teradata client has not been configured correctly. The DataDirect Teradata driver requires  the Teradata client to also be installed. 
 
Progress DataDirect Connect Series for ODBC: The Connect XE Drivers : The Driver for the Teradata Database : Driver Requirements
https://media.datadirect.com/download/docs/odbc/allodbc/odbc/Driver_Requirements_21.html
 
Resolution
Install and configure the Teradata client. 

These four environment variables need to be set according to the Teradata documentation.
- COPERR= directory path where the errmsg.txt file resides
- COPLIB= directory path where the libcliv2.so file resides
- TD_ICU_DATA=  directory path where the Teradata ICU Library resides
- LD_LIBRARY_PATH=  directory path where the Teradata Client Library resides

Make a successful connection to the database using the Teradata client before attempting to connect with the DataDirect Teradata driver. 
 
Workaround
Notes
Last Modified Date7/26/2019 10:35 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.