Package: unixodbc
Version: 2.3.12-2
Severity: normal
Dear maintainer,
I got a bug filed[1] in Ubuntu saying that the odbc_config tool is
missing from the packaging. It seems that's on purpose, because since
2.3.9-1 this tool is even listed in d/not-installed. I checked a bit
more history but couldn't find a reason. Incidentally, "make install" installs it just fine in /usr/bin.
This is trivial to fix, and I'm happy to provide a patch, but first I
would like to check with you if this was indeed on purpose, or just an oversight.
Thanks!
1. https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2103828>Anyone wanting to link with the odbc, odbccr or odbcinst libraries
Control: -1 wontfix
Hi Andreas,
Sorry for the delayed reply. I've just returned from a 2-week vacation.
On 25/03/2025 8:52 am, Andreas Hasenack wrote:
Package: unixodbc
Version: 2.3.12-2
Severity: normal
Dear maintainer,
I got a bug filed[1] in Ubuntu saying that the odbc_config tool is
missing from the packaging. It seems that's on purpose, because since 2.3.9-1 this tool is even listed in d/not-installed. I checked a bit
more history but couldn't find a reason. Incidentally, "make install" installs it just fine in /usr/bin.
Debian never packaged odbc_config because the script got several things wrong. See #422207 [1] for more details.
odbc_config is also incompatible with Debian's multi-arch support, as it
only supports the host architecture.
This is trivial to fix, and I'm happy to provide a patch, but first I
would like to check with you if this was indeed on purpose, or just an oversight.
Thanks!
1. https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2103828>Anyone wanting to link with the odbc, odbccr or odbcinst libraries
should use pkg-config to get the headers and libraries as required.
Packaging the script would also break multi-arch support.
Here is a minimal example using cmake:
cmake_minimum_required(VERSION 3.31)
project(unixodbc_test)
include(FindPkgConfig)
pkg_check_modules(ODBC REQUIRED odbc)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 94:42:16 |
Calls: | 9,679 |
Files: | 13,725 |
Messages: | 6,174,240 |