>> # ./configure >> ... >> checking for ldap_init in -lldap_r... no >> checking for ldap.h... yes >> configure: WARNING: silently not building rlm_ldap. >> configure: WARNING: FAILURE: rlm_ldap requires: libldap_r. >> configure: creating ./config.status >> config.status: creating Makefile > > When manually specifying the directories it still comes back with the > same error: >> r...@radius0:/usr/local/src/freeradius/freeradius-server-2.1.6/src/modules/rlm_ldap >> # ./configure \ >>> --with-rlm-ldap-lib-dir=/usr/local/lib \ >>> --with-rlm-ldap-include-dir=/usr/local/include >> ... >> checking for ldap_init in -lldap_r... no >> checking for ldap.h... yes >> configure: WARNING: silently not building rlm_ldap. >> configure: WARNING: FAILURE: rlm_ldap requires: libldap_r. >> configure: creating ./config.status >> config.status: creating Makefile > > Contents of the directories: > >> r...@radius0:/usr/local/src/freeradius/freeradius-server-2.1.6/src/modules/rlm_ldap >> # ls -la /usr/local/lib/libldap* >> lrwxrwxrwx 1 root root 20 Jul 8 09:10 >> /usr/local/lib/libldap-2.4.so.2 -> libldap-2.4.so.2.4.2 >> -rwxr-xr-x 1 bin bin 306312 May 30 02:46 >> /usr/local/lib/libldap-2.4.so.2.4.2 >> -rw-r--r-- 1 bin bin 373348 May 30 02:46 >> /usr/local/lib/libldap.a >> -rw-r--r-- 1 bin bin 1290 May 30 02:46 >> /usr/local/lib/libldap.la >> lrwxrwxrwx 1 root root 20 Jul 8 09:10 >> /usr/local/lib/libldap.so -> libldap-2.4.so.2.4.2 >> lrwxrwxrwx 1 root root 22 Jul 8 09:10 >> /usr/local/lib/libldap_r-2.4.so.2 -> libldap_r-2.4.so.2.4.2 >> -rwxr-xr-x 1 bin bin 332016 May 30 02:46 >> /usr/local/lib/libldap_r-2.4.so.2.4.2 >> -rw-r--r-- 1 bin bin 410146 May 30 02:46 >> /usr/local/lib/libldap_r.a >> -rw-r--r-- 1 bin bin 1304 May 30 02:46 >> /usr/local/lib/libldap_r.la >> lrwxrwxrwx 1 root root 22 Jul 8 09:10 >> /usr/local/lib/libldap_r.so -> libldap_r-2.4.so.2.4.2 > >> r...@radius0:/usr/local/src/freeradius/freeradius-server-2.1.6/src/modules/rlm_ldap >> # ls -la /usr/local/include/ldap* >> -rw-r--r-- 1 bin bin 63828 May 30 02:46 >> /usr/local/include/ldap.h >> -rw-r--r-- 1 bin bin 9538 May 30 02:46 >> /usr/local/include/ldap_cdefs.h >> -rw-r--r-- 1 bin bin 1890 May 30 02:46 >> /usr/local/include/ldap_features.h >> -rw-r--r-- 1 bin bin 9523 May 30 02:46 >> /usr/local/include/ldap_schema.h >> -rw-r--r-- 1 bin bin 3539 May 30 02:46 >> /usr/local/include/ldap_utf8.h > > Any ideas what is going wrong?
Your linker is probably looking in /usr/lib but not in /usr/local/lib. Add the correct path. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html