Turns out this was done on purpose. I got a reply in the debug bug[1]:
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.
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)
We (Ubuntu) are therefore likely not going to reintroduce odbc_config,
specially not in an SRU.
@spierepf does the suggestion of using pkg-config work for you?
1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101206#10
** Changed in: unixodbc (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103828
Title:
unixodbc-dev doesn't include odbc_config tool needed to locate header
and library files.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2103828/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs