I already filed an issue to the nix repository here: erlang_odbc not building correctly on OSX/darwin · Issue #94644 · NixOS/nixpkgs · GitHub
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 --with-odbc=/nix/store/2z0cwqcwk21ai7mspflgx0ry4c7jr92k-unixODBC-2.3.7?
Specifically I don’t fully understand this line in the configure script: otp/lib/odbc/configure.in at OTP-22.3.1 · erlang/otp · GitHub






















