Control: tags -1 pending

Hi Alexander,

Thank you for filing this bug report.

On Tue, 26 Oct 2021 at 23:09, Alexander Traud wrote:
>
> Package: unixodbc-dev
> Version: 2.3.6-0.1build2
>
> In salsa [1], I see that the dependency on libltdl-dev was added to the -dev 
> package in the year 2004 already. On the first glance, I found no 
> use/reference to libltdl-dev (except at build time). Therefore, I am curios 
> why this dependency exists on the -dev package (and is even a required 
> dependency).
>
> I found a reference of ltdl.h in odbcinstext.h. However, that part is guarded 
> with a compile-time-only define UNIXODBC_SOURCE. Is/was that the reason? If 
> yes, I created a Pull Request upstream to discuss or fix this: 
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flurcher%2FunixODBC%2Fpull%2F82&amp;data=04%7C01%7C%7C96a506ecd51f4788f6c708d998796820%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637708469486638559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=0QVx66YZ%2BNj5XGt7JIgh3k02pAJ0RTwVPITcOKO%2FOSc%3D&amp;reserved=0>

I've had a look into the use of ltdl.h and UNIXODBC_SOURCE, and I've
come to the same conclusion you have: Debian builds don't use or
#define UNIXODBC_SOURCE at all.

I saw upstream had confirmed your thinking around UNIXODBC_SOURCE
being a compile-time define and merged your patch. I can't see or find
any reason for unixodbc-dev to depend on libltdl-dev, so I'll remove
that dependency when I release the next version.

I'll be starting a transition to unixodbc 2.3.9 soon, so this change
will need to wait until after that.

Reply via email to