I already filed an issue to the nix repository here: https://github.com/NixOS/nixpkgs/issues/94644
But, as you can see in my last comment there, I think that this issue might be caused by a setting in the configure phase of the build. Somehow the build script assumes that I want to build with the flag
-liodbc instead of
-lodbc - which is bogus.
That’s why I reach out here: can someone explain, why
idobc is used even though I specifically pass the path to
unixODBC to the build via
Specifically I don’t fully understand this line in the configure script: https://github.com/erlang/otp/blob/OTP-22.3.1/lib/odbc/configure.in#L154