https://bugs.openldap.org/show_bug.cgi?id=9348
--- Comment #4 from Howard Chu <[email protected]> --- (In reply to ditu.alexandru from comment #3) > 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? Set ol_cv_have_sys_errlist=no when running configure. But again, if you have to recompile libldap anyway, then just build it on new libc and forget about it. -- You are receiving this mail because: You are on the CC list for the issue.
