s -x c++ -c ../../ptclib/pldap.cxx -o /var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib/obj_linux_x86_64_r/pldap.o
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Open(const PString&, WORD)':
../../ptclib/pldap.cxx:130: error: `ldap_init' undeclared (first use this function)
../../ptclib/pldap.cxx:130: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Close()':
../../ptclib/pldap.cxx:144: error: `ldap_unbind' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Bind(const PString&, const PString&, PLDAPSession::AuthenticationMethod)':
../../ptclib/pldap.cxx:184: error: `ldap_bind_s' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Add(const PString&, const PList<PLDAPSession::ModAttrib>&)':
../../ptclib/pldap.cxx:413: error: `ldap_result2error' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Modify(const PString&, const PList<PLDAPSession::ModAttrib>&)':
../../ptclib/pldap.cxx:457: error: `ldap_result2error' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Delete(const PString&)':
../../ptclib/pldap.cxx:495: error: `ldap_result2error' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::Search(PLDAPSession::SearchContext&, const PString&, const PStringArray&, const PString&, PLDAPSession::SearchScope)':
../../ptclib/pldap.cxx:561: error: `ldap_result2error' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::GetSearchResult(PLDAPSession::SearchContext&, const PString&, PString&)':
../../ptclib/pldap.cxx:628: error: `ldap_get_values' undeclared (first use this function)
../../ptclib/pldap.cxx:632: error: `ldap_count_values' undeclared (first use this function)
../../ptclib/pldap.cxx:639: error: `ldap_value_free' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::GetSearchResult(PLDAPSession::SearchContext&, const PString&, PStringArray&)':
../../ptclib/pldap.cxx:662: error: `ldap_get_values' undeclared (first use this function)
../../ptclib/pldap.cxx:666: error: `ldap_count_values' undeclared (first use this function)
../../ptclib/pldap.cxx:671: error: `ldap_value_free' undeclared (first use this function)
../../ptclib/pldap.cxx: In member function `BOOL PLDAPSession::GetNextSearchResult(PLDAPSession::SearchContext&)':
../../ptclib/pldap.cxx:775: error: `ldap_result2error' undeclared (first use this function)
make[1]: *** [/var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/lib/obj_linux_x86_64_r/pldap.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pwlib-1.8.7/work/pwlib-1.8.7/src/ptlib/unix'
make: *** [opt] Error 2
!!! ERROR: dev-libs/pwlib-1.8.7 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
pwlib-1.8.7.ebuild, line 116: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.