https://bugs.openldap.org/show_bug.cgi?id=9348
--- Comment #7 from Howard Chu hyc@openldap.org --- (In reply to ditu.alexandru from comment #6)
(In reply to ditu.alexandru from comment #5)
- I've tried setting the flag ol_cv_have_sys_errlist=no but it won't
compile anymore (using libc < 2.32 which defines those symbols, so I believe it's conflicting with them):
Actually it compiles (I've confused it with option ol_cv_dcl_sys_errlist with wich I had problems).
If I compile with the flag ol_cv_have_sys_errlist=no I still encounter the issue:
nm libraries/libldap/.libs/libldap.a | grep sys_errlist U sys_errlist
You actually need to set both ol_cv_dcl_sys_errlist=no and ol_cv_have_sys_errlist=no.