https://bugs.openldap.org/show_bug.cgi?id=9213
Bug ID: 9213 Summary: undefined reference in back_ldap when --enable-ldap=mod and --disable-dynamic Product: OpenLDAP Version: 2.4.49 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: ryan@openldap.org Target Milestone: ---
./configure --enable-modules --enable-ldap=mod
doesn't link back_ldap with libldap (--enable-dynamic is disabled per default). The resulting binary doesn't work; slapd has libldap statically linked, but doesn't include all the symbols back_ldap uses: specifically ldap_modify_ext.
slaptest passes, but back_ldap fails at runtime (test022 fails). Not sure if other modules would have the same problem.