While trying to install Courier IMAP 0.99 I have found that the configure
script does not detect LDAP on my FreeBSD 4.0 system. I have the OpenLDAP
libraries installed under /usr/local.
ie:
ls -l /usr/local/include/
-rw-r--r-- 1 root wheel 5049 Aug 11 13:24 lber.h
-rw-r--r-- 1 root wheel 18032 Aug 11 13:24 ldap.h
-rw-r--r-- 1 root wheel 1361 Aug 11 11:34 ldap_cdefs.h
-rw-r--r-- 1 root wheel 3876 Aug 11 13:24 proto-lber.h
-rw-r--r-- 1 root wheel 8600 Aug 11 13:24 proto-ldap.h
-rw-r--r-- 1 root wheel 2634 Aug 11 13:24 srchpref.h
ls -l /usr/local/lib
-rw-r--r-- 1 root wheel 17570 Aug 11 13:24 liblber.a
lrwxr-xr-x 1 root wheel 12 Aug 11 11:34 liblber.so -> liblber.so.1
-rw-r--r-- 1 root wheel 17950 Aug 11 11:34 liblber.so.1
-rw-r--r-- 1 root wheel 122736 Aug 11 13:24 libldap.a
lrwxr-xr-x 1 root wheel 12 Aug 11 11:34 libldap.so -> libldap.so.1
-rw-r--r-- 1 root wheel 90935 Aug 11 11:34 libldap.so.1
I have been trawling through the configure script and related
config files and have been unable to find out how to add
/usr/local/include to the search path to enable it to find the
needed header files.
Can someone who has had this problem point me in the right direction?
Jonathan