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

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



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

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libiodbc2 depends on:
ii  libc6              2.18-5
ii  multiarch-support  2.18-5

libiodbc2 recommends no packages.

Versions of packages libiodbc2 suggests:
ii  iodbc  3.52.9-1

-- no debconf information

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


Reply to: