PDA

View Full Version : Invalid LDAP directory - unable to find ldap.h


koira
06-07-2005, 20:46
Hello

I have an LDAP server I am trying to monitor. It is redhat linux 9.0.

I do:

./configure --with-mysql --with-net-snmp --with-ldap=/usr/include

I get:

error: Invalid LDAP directory - unable to find ldap.h under /usr/include

Here is a locate:

locate ldap.h
/var/www/manual/mod/mod_php4/de/ref.ldap.html
/var/www/manual/mod/mod_php4/es/ref.ldap.html
/var/www/manual/mod/mod_php4/es/reserved.constants.ldap.html
/var/www/manual/mod/mod_php4/fr/ref.ldap.html
/var/www/manual/mod/mod_php4/it/ref.ldap.html
/var/www/manual/mod/mod_php4/ja/ref.ldap.html
/var/www/manual/mod/mod_php4/ja/reserved.constants.ldap.html
/var/www/manual/mod/mod_php4/ko/ref.ldap.html
/var/www/manual/mod/mod_php4/pt_BR/ref.ldap.html
/var/www/manual/mod/mod_php4/pt_BR/reserved.constants.ldap.html
/var/www/manual/mod/mod_php4/ref.ldap.html
/var/www/manual/mod/mod_php4/reserved.constants.ldap.html
/usr/lib/xemacs-21.4.12/i386-redhat-linux/include/eldap.h
/usr/share/apps/quanta/doc/php/ref.ldap.html
/usr/include/ldap.h
/usr/include/httpd/apr_ldap.h
/usr/include/httpd/util_ldap.h
/usr/include/mozilla-1.2.1/ldap/ldap.h
/usr/include/apr-0/apr_ldap.h

I am not sure where to go from here. Any suggestions are most appreciated.

Thank you!

koira
08-07-2005, 20:37
once I did ./configure --with-ldap

And no directory it was fine and is now monitoring LDAP with no issues.