Connecting to Teradata using Perl


Connecting to Teradata using Perl

I am attempting to connect to teradata using Perl.  I am not able to get it to connect.  We are getting the following error when trying to connect:

/usr/local/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBD/Teradata/Cli/ undefined symbol: DBCHINI

i thought this might be caused by the teradata drivers and looking in 32 bit directories, but i update the following paths and the issue still persists:

export ODBCINI=/opt/teradata/client/14.00/odbc_64/odbc.ini

    export NLSPATH=/opt/teradata/client/14.00/odbc_64/msg/

    export LD_LIBRARY_PATH=/opt/teradata/client/14.00/odbc_64/lib

    export ODBC_HOME=/opt/teradata/client/14.00/odbc_64

this is installed on RHEL 6 (64 bit). Does anyone have any ideas? I have done a fair amount of searching and find very little info on dbchini.

Teradata Employee

Re: Connecting to Teradata using Perl

DBD::Teradata doesn't use ODBC. Have you installed CLIv2 driver?