I am trying to use nixpkgs.odbcDrivers.mssqlodbc17 as is from nix pkgs, but when I try to load the driver I get a file not found error. Debugging with LD_DEBUG=libs, there’s an error that that libodbcinst.so.2 requires GLIBC 2.34, and you can see clearly that it’s linked to 2.33. Can I make my own version of unixODBC in an overlay that some how specifies glibc 2.34?
Here’s the full error in the LD_DEBUG printout:
332936: /nix/store/jcb7fny2k03pfbdqk1hcnh12bxgax6vf-glibc-2.33-108/lib/libc.so.6: error: ver
sion lookup error: version `GLIBC_2.34' not found (required by /nix/store/xgrdibyknj7k1648vwg8llrf39
xsinam-unixODBC-2.3.9/lib/libodbcinst.so.2) (fatal)