Index: kamailio3-3.3.0/modules_s/ldap/Makefile =================================================================== --- kamailio3-3.3.0.orig/modules_s/ldap/Makefile 2012-08-14 17:14:01.000000000 +0200 +++ kamailio3-3.3.0/modules_s/ldap/Makefile 2012-08-14 17:14:12.000000000 +0200 @@ -14,7 +14,7 @@ # LD_SCOPE_CHILDREN defined #DEFS += -DHAVE_SCOPE_CHILDREN -LIBS=-L$(LOCALBASE)/lib -L /usr/lib -lldap +LIBS=-L$(LOCALBASE)/lib -lldap DEFS+=-DSER_MOD_INTERFACE