Ad Widget

Collapse

Invalid LDAP directory - unable to find ldap.h

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koira
    Junior Member
    • Jul 2005
    • 3

    #1

    Invalid LDAP directory - unable to find ldap.h

    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
    Junior Member
    • Jul 2005
    • 3

    #2
    found the ldap service problem

    once I did ./configure --with-ldap

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

    Comment

    • MrSol
      Junior Member
      • Jul 2012
      • 7

      #3
      I had the same problem with ldap.h. I just installed package openldap2-devel with all dependencies. After that ./configure ... went smooth.

      Comment

      Working...