https://bugs.openldap.org/show_bug.cgi?id=9201
--- Comment #7 from Quanah Gibson-Mount quanah@openldap.org --- Note: build passes if I make it dynamic modules, i.e.:
CPPFLAGS="-DLDAP_THREAD_DEBUG" ./configure --enable-overlays=mod --enable-ldap --enable-meta --with-tls=openssl --enable-modules
so it's specific to static module build.