compiling freeradius 1.0.5 : config error: silently not building rlm_ldap
Hi All, Do you any idea?? Please help me in fixing this issue. Im building freeradius-1.0.5. But rlm_ldap module was not built. Im setting the ldap library path correctly( hope so). I checked with the free-radius mailing list for the same issue. But im not able to fix it. Could please reply me if you have any idea?? Thanks in advance. FYI.. config output was.. configuring in src/modules/rlm_ldap running /bin/sh ./configure --prefix=/root/usr --with-kernel-version= 2.4.29-ccb-symbol--with-kernel-headers=/src/kernel/2.4.29-ccb-symbol/linux/include --with-openssl-libraries=/root/usr/lib --with-openssl-inc=/root/usr/include/openssl/ --without-kerberos --without-sql-mysql --enable-ltdl-install --with-rlm-ldap-lib-dir=/root/usr/local/lib --with-rlm-ldap-include-dir=/root/usr/include --with-ldap --cache-file=../../.././config.cache --srcdir=. loading cache ../../.././config.cache checking for gcc... (cached) /i686-linux-gnu/gcc-3.4.1-glibc-2.3.3 /bin/i686-linux-gnu-gcc checking whether the C compiler (/i686-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/i686-linux-gnu-gcc -I/root/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -L/root/usr/lib ) works... yes checking whether the C compiler (/i686-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/i686-linux-gnu-gcc -I/root/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -L/root/usr/lib ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether /i686-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/i686-linux-gnu-gcc accepts -g... (cached) yes checking for pthread_create in -lpthread... (cached) yes 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. updating cache ../../.././config.cache creating ./config.status creating Makefile -- "If u look at what u dont have in life, u dont have anything But if u look at what u have in life, u have everything.....!!"
sumi wrote:
Im building freeradius-1.0.5. But rlm_ldap module was not built. Im setting the ldap library path correctly( hope so).
[...]
checking for pthread_create in -lpthread... (cached) yes 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.
It's a local setup issue: the configure script can't find libldap_r.so. Fix your OpenLDAP installation to correctly build and install the thread-safe version of the library, too. -- Nicolas Baradakis
participants (2)
-
Nicolas Baradakis -
sumi