[debian-mysql] Bug#814944: mariadb-connect-engine-10.0: ODBC support apparently not compiled in

Alan Dennis debianbts8629 at aldennis.me.uk
Tue Feb 16 21:31:45 UTC 2016

Package: mariadb-connect-engine-10.0
Version: 10.0.23-0+deb8u1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Trying to connect to an ODBC database, get: SQL Error (1105): Unsupported table type ODBC

Search quickly arrives at https://mariadb.atlassian.net/browse/MDEV-4555 which had same problem.

Solution there was that odbc needs to be compiled in (ODBC_SUPPORT precompiler option).

ldd /usr/lib/mysql/plugin/ha_connect.so output should include unixodbc libs, it doesn't.

Looking at build log (https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.0&arch=arm64&ver=10.0.23-2&stamp=1453644048), test section includes...

connect.odbc                             w5 [ skipped ]  No ODBC support
connect.odbc_oracle                      w5 [ skipped ]  No ODBC support
spider/bg.direct_update_part             w4 [ pass ]     83
connect.odbc_postgresql                  w5 [ skipped ]  No ODBC support
connect.odbc_sqlite3                     w5 [ skipped ]  No ODBC support
connect.odbc_sqlite3_grant               w5 [ skipped ]  No ODBC support
connect.odbc_xls                         w5 [ skipped ]  No ODBC support

Given that the package description says "Connect engine supports ... connections to ODBC tables ..." and lists unixODBC as a dep,
I would expect ODBC support to be compiled in?

(similarly, XML support seems to be missing too?)

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mariadb-connect-engine-10.0 depends on:
ii  libc6                2.19-18+deb8u1
ii  libstdc++6           4.9.2-10
ii  libxml2              2.9.1+dfsg1-5+deb8u1
ii  mariadb-server-10.0  10.0.23-0+deb8u1
ii  unixodbc             2.3.1-3
ii  zlib1g               1:1.2.8.dfsg-2+b1

mariadb-connect-engine-10.0 recommends no packages.

mariadb-connect-engine-10.0 suggests no packages.

-- no debconf information

More information about the pkg-mysql-maint mailing list