Hello,
I am trying to upgrade PHP 4.3.9 to version 5.2.2. My problem is I need the --with-ldap=shared option enabled, but I keep running into the same error message every time:
checking for crypt in -lcrypt... yes
checking whether build with IMAP works... yes
checking for InterBase support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... yes, shared
checking for LDAP Cyrus SASL support... no
configure: error: Cannot find ldap.h
ldap.h does exist though in /usr/include/ and I have even tried modifying the option to --with-ldap=shared,/usr/include/ but I still end up with the same error message.
I am using RedHat Linux v4 and OpenLDAP. I have also installed the openldap-devel rpm. I am not sure what I should do from here, any information would be greatly appreciated. Thank you!
~Ashley