hello,
I am having a very difficult time trying to get the ldap stuff to configure/compile
the rlm_ldap module into freeradius. I am doing this on a solaris 9 box. I have included
the relevant (at least what I think is relevant) output from the configure command. The
configure command I used is:
./configure --prefix=/opt/local --includedir=/opt/local/openldap/include --with-rlm-ldap-lib-dir=/opt/local/openldap/lib --with-rlm-ldap-include-dir=/opt/local/openldap/include
configuring in src/modules/rlm_ldap
running /bin/sh ./configure --prefix=/opt/local --includedir=/opt/local/openldap/include --with-rlm-ldap-lib-dir=/opt/local/openldap/lib --with-rlm-ldap-include-dir=/opt/local/openldap/include --enable-ltdl-install --enable-ltdl-install --cache-file=../../.././config.cache --srcdir=.
loading cache ../../.././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG ) works... yes
checking whether the C compiler (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for lber.h... yes
checking for ldap.h... yes
checking for sasl_encode in -lsasl... no
checking for DH_new in -lcrypto... no
checking for SSL_new in -lssl... no
checking for ber_init in -llber... yes
checking for ldap_init in -lldap_r... no
configure: warning: silently not building rlm_ldap.
configure: warning: FAILURE: rlm_ldap requires: libldap_r.
creating ./config.status
creating Makefile
I have the LD_LIBRARY_PATH setup to include the openldap libraries. Anybody have any ideas why this is failing?
Thanks in advance.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
