Problems installing tdodbc on Ubuntu

I am using Ubuntu 16.04 and I try to follow the guide here:

http://crashthatch.tumblr.com/post/66957708538/teradata-odbc-connection-using-python-on-ubuntu

To install the odbc teradata driver on Ubuntu. The blog post is a bit outdated and therefore I am using a different version of the driver:

ODBC Driver 16.00.00.02

I downloaded and unpacked different files and converted them to deb using alien as indicated, but

When I try to run:

sudo dpkg -i tdodbc1600_16.00.00.01-2_all.deb 

I get the following error:

dpkg: error processing package tdodbc1600 (--install):
cannot compute MD5 hash for file '/opt/teradata/client/16.00/lib/tdwalletdir.dpkg-new': failed to read (Is a directory)
Errors were encountered while processing:
 tdodbc1600

Does anyone know what I can do here?

I will try to use the driver version mentioned in the blog (14.10.00.00-1) and see what happens and update this entry accordingly. At the same time, any help would be greatly appreciated.

UPDATE:

14.00.00.09 .

:

sudo apt-get install python-pyodbc odbcinst

:

sudo apt-get install odbcinst1debian2 libodbc1

:

teradata ldconfig, /etc/ld.so.conf.d/Zteradata.conf :

/opt/teradata/client/14.10/odbc_64/lib,    /opt/teradata/client/ 14.10/tdicu/lib64,    /opt/teradata/teragss/linux -x8664/14.10.00.06/lib

, ( 14.00 14.10) .

:

/opt/teradata/teragss/site/linux-x8664

.

+4
2

Teradata ODBC 16.00.00.03 (http://downloads.teradata.com/download/connectivity/odbc-driver/linux)

Ubuntu 14.04, tdodbc sudo dpkg -i tdodbc1600_16.00.00.03-2_all.deb . Ubuntu (14.04, 16.04), , , , rpm

+1

. - SUSE/RedHat/Oracle. , Teradata Ubuntu, Alien ?

16.00.00.02 README:

3.0 Requirements
    3.1 System
        RedHat Enterprise Linux 6.x on EM64T & Opteron    
        RedHat Enterprise Linux 7.x on EM64T & Opteron    
        SUSE Enterprise Linux 11    on EM64T & Opteron
        SUSE Enterprise Linux 12    on EM64T & Opteron
        ORACLE Enterprise Linux 6.x on EM64T & Opteron
        ORACLE Enterprise Linux 7.x on EM64T & Opteron
0

Source: https://habr.com/ru/post/1667302/


All Articles