Hi, I'm having a problem compiling the ldap backend on solaris 8 with gcc-3.4.4.
 openldap 3.2.6 compiled in a nonstandard place but the ldapbackend/Makefile
looks like its picked up the LDFLAGS and CPPFLAGS ok.  any ideas?

------

make[3]: Entering directory
`/opt/project.venus/buildtree/dns/pdns/modules/ldapbackend'
if /bin/ksh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../..   -I/usr/local/ssl/include
-I/opt/project.venus/software/base/LDAPv3/include  -D_REENTRANT  -Wall -O2 -MT
powerldap.lo -MD -MP -MF ".deps/powerldap.Tpo" -c -o powerldap.lo powerldap.cc; \
then mv -f ".deps/powerldap.Tpo" ".deps/powerldap.Plo"; else rm -f
".deps/powerldap.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/ssl/include
-I/opt/project.venus/software/base/LDAPv3/include -D_REENTRANT -Wall -O2 -MT
powerldap.lo -MD -MP -MF .deps/powerldap.Tpo -c powerldap.cc  -fPIC -DPIC -o
.libs/powerldap.o
powerldap.cc: In constructor `PowerLDAP::PowerLDAP(const std::string&, uint16_t,
bool)':
powerldap.cc:9: error: `ldap_init' undeclared (first use this function)
powerldap.cc:9: error: (Each undeclared identifier is reported only once for
each function it appears in.)
powerldap.cc:19: error: `ldap_unbind' undeclared (first use this function)
powerldap.cc: In destructor `PowerLDAP::~PowerLDAP()':
powerldap.cc:34: error: `ldap_unbind' undeclared (first use this function)
powerldap.cc: In member function `void PowerLDAP::simpleBind(const std::string&,
const std::string&)':
powerldap.cc:59: error: `ldap_simple_bind_s' undeclared (first use this function)
powerldap.cc: In member function `int PowerLDAP::search(const std::string&, int,
const std::string&, const char**)':
powerldap.cc:69: error: `ldap_search' undeclared (first use this function)
make[3]: *** [powerldap.lo] Error 1
make[3]: Leaving directory
`/opt/project.venus/buildtree/dns/pdns/modules/ldapbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/project.venus/buildtree/dns/pdns/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/project.venus/buildtree/dns/pdns'
make: *** [all] Error 2
root@buffy:/opt/project.venus/buildtree/dns/pdns>
