https://bugs.openldap.org/show_bug.cgi?id=9348
--- Comment #3 from ditu.alexandru@gmail.com --- You're right indeed: it should work if it's compiled on older libc and run with new ones.
The issue I've encountered was when I was building an executable using libc >= 2.32 and trying to link it with a version of libldap build with libc < 2.32. In this situation I was receiving the error: undefined reference to `sys_errlist'.
libldap does not provide any workaround for this situation. Is it possible to add a configure flag so I can force it to use only strerror instead of the deprecated symbols?