https://bugs.openldap.org/show_bug.cgi?id=10056
--- Comment #3 from kaction@disroot.org --- I meant this commit of nixpkgs: https://github.com/KAction/nixpkgs/commit/f9e32f61282275eb5fa9064e08bbd0a92d...
but I can reproduce it manually (well, with all dependencies provided by nixpkgs). Here are configure flags:
``` --prefix=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4 --bindir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/bin --sbindir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/sbin --includedir=/nix/store/svyf22i7y6i9q2waabph8ml95rlhlxnf-openldap-static-x86_64-unknown-linux-musl-2.6.4-dev/include --oldincludedir=/nix/store/svyf22i7y6i9q2waabph8ml95rlhlxnf-openldap-static-x86_64-unknown-linux-musl-2.6.4-dev/include --mandir=/nix/store/2jihzh0w4q0isbk2zbr41zwbk2c9yk8z-openldap-static-x86_64-unknown-linux-musl-2.6.4-man/share/man --infodir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/share/info --docdir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/share/doc/openldap-static-x86_64-unknown-linux-musl --libdir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/lib --libexecdir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/libexec --localedir=/nix/store/x0pi4dihn6mms2v4p2ih3l0fh2xkhznj-openldap-static-x86_64-unknown-linux-musl-2.6.4/share/locale --enable-argon2 --enable-crypt --enable-modules --enable-overlays --with-yielding_select=yes ac_cv_func_memcmp_working=yes --enable-static --disable-shared --disable-shared --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-musl ```
Another difference from default configuration is musl libc, fwiw.