Don't link directly with perl or sql libraries -- they're pulled in by demand-loaded backends. --- openldap-2.3.11/build/top.mk.nosql 2005-08-29 14:46:17.000000000 -0400 +++ openldap-2.3.11/build/top.mk 2005-10-28 21:15:15.000000000 -0400 @@ -197,7 +197,7 @@ SLAPD_SQL_INCLUDES = @SLAPD_SQL_INCLUDES@ SLAPD_SQL_LIBS = @SLAPD_SQL_LIBS@ -SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ +SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_SLP_LIBS@ SLURPD_LIBS = @SLURPD_LIBS@ # Our Defaults