Comment 4 for bug 1010044

Revision history for this message
Mazman (laurent-mazuel) wrote :

I confirm this bug on a debian wheezy install:
$ apt-cache show libmyodbc
Package: libmyodbc
Source: myodbc
Version: 5.1.10-2+deb7u1
Installed-Size: 373
Maintainer: Steve Langasek <email address hidden>
Architecture: amd64

I reproduce it using the C interface of ODBC, also using "date" accessing.

However, I'm not sure that the MySQL team have right. In a debian squeeze, the driver is linked against the dynamic library too:
# ldd /usr/lib/odbc/libmyodbc.so | grep libmysql
 libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16 (0x00007f2700fbd000)

as in my wheezy:
$ ldd /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so | grep mysql
 libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 (0x00007f04e78b4000)

But the same code works perflectly in Squeeze, not in Wheezy