https://bugs.openldap.org/show_bug.cgi?id=9348
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to ditu.alexandru from comment #0)
Starting with libc >= 2.32 the symbols sys_errlist and sys_nerr are removed:
From the release notes (https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD):
- The deprecated symbols sys_errlist, _sys_errlist, sys_nerr, and _sys_nerr are no longer available to newly linked binaries, and their declarations have been removed from from <stdio.h>. They are exported solely as compatibility symbols to support old binaries. All programs should use strerror or strerror_r instead.
Their usage should be removed from libldap (include/ac/errno.h) and replaced with strerror or strerror_r.
Otherwise any library that uses libldap compiled with libc < 2.32 won't run on systems that use newer libc versions (>= 2.32).
sys_errlist is only used if autoconf finds them. If these symbols are no longer declared in glibc 2.32 then OpenLDAP will not use them.