Python package with runtime dependencies

I don’t think that would help, the symbols would already be loaded, and glibc makes the assumption that there will never be a competing glibc version.

Arch gets around this by regenerating the ld cache after upgrading glibc https://github.com/archlinux/svntogit-packages/blob/5efa91285c851787ed4086116fa2da8dea254429/glibc/repos/core-x86_64/glibc.install

maybe we should do something similar for NixOS? and as part of a generation’s activate, that we create a /etc/ld-nix.so.preload with the system’s glibc. Wouldn’t help people using stable and picking from unstable, but it would help with people upgrading their system and then getting the error.

Other options:

  • Move away from glibc
  • Rarely update glibc minor versions