Hello Hugh,

thank you very much for your response.

On Thu, Apr 3, 2025 at 4:59 AM Hugh McMaster <hugh.mcmas...@outlook.com> wrote:
>
> 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)

I'll relay this back into the ubuntu bug, and advise we won't be
changing this then.

Thanks again for your kind response.

Reply via email to