Hi list, I have been trying to configure FreeRADIUS 2.1.6 on Solaris 10 (sparc) but I am having issues with the rlm_ldap module not being able to locate libldap_r. I have installed the OpenSSL and OpenLDAP packages + dependencies from Sunfreeware. When issuing the plain "./configure" it returns the following:
root@radius0:/usr/local/src/freeradius/freeradius-server-2.1.6/src/modules/rlm_ldap # ./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:
root@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:
root@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
root@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? Thanks Steve -- Steven Carr Systems Development Officer SLS/ITS/Systems - (0191) 515 3953