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

2014-05-27 Thread Christoph Berg
Re: To Debian Bug Tracking System 2014-05-26 
20140526212058.ga1...@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=0
 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
-- 
c...@df7cb.de | http://www.df7cb.de/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2014-05-26 Thread Christoph Berg
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=0
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
-- 
c...@df7cb.de | http://www.df7cb.de/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org