[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#749427: isql fails to load multi-arched odbc drivers



Re: To Debian Bug Tracking System 2014-05-26 <[🔎] 20140526212058.GA1295@msgid.df7cb.de>
> Package: libiodbc2
> Version: 3.52.9-1
> Severity: grave
> 
> When running the psqlodbc testsuite, I found that isql no longer loads
> psqlodbca.so correctly:
> 
> 1: SQLDriverConnect = [iODBC][Driver Manager]psqlodbca.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (0) SQLSTATE=00000
> 2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
> 
> strace:
> open("/usr/lib/x86_64-linux-gnu/psqlodbca.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> 
> The correct location includes an extra "odbc/" in the path:
> 
> odbc-postgresql:amd64: /usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so

Steps to reproduce:

sudo apt-get install odbc-postgresql postgresql, unixodbc, iodbc
apt-get source psqlodbc
cd */
debian/tests/isql

Fwiw, the bug seems to be in iodbc, not libiodbc2 - I ran into the bug
after upgrading only iodbc.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/


Reply to: