Guys, I'm trying to compile freeradius with LDAP support on Solaris 9 and the compile is erroring out. I've googled and read the thread http://lists.cistron.nl/pipermail/freeradius-users/2003-February/016497.html and I still can get this thing to compile. Here is what I'm using as the configure line:
./configure --prefix=/usr/local/freeradius --with-rlm-ldap-lib-dir=/usr/local/openldap/lib --with-rlm-ldap-include-dir=/usr/local/openldap/include Here is the error I'm getting from the rlm_ldap compile: gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -DHAVE_LDAP_START_TLS -c rlm_ldap.c -o rlm_ldap.o rlm_ldap.c: In function `ldap_instantiate': rlm_ldap.c:381: error: `LDAP_OPT_X_TLS_HARD' undeclared (first use in this funct ion) rlm_ldap.c:381: error: (Each undeclared identifier is reported only once rlm_ldap.c:381: error: for each function it appears in.) rlm_ldap.c: In function `ldap_connect': rlm_ldap.c:1467: error: `LDAP_OPT_NETWORK_TIMEOUT' undeclared (first use in this function) rlm_ldap.c:1467: error: `LDAP_OPT_SUCCESS' undeclared (first use in this functio n) rlm_ldap.c:1473: error: `LDAP_OPT_DEBUG_LEVEL' undeclared (first use in this fun ction) rlm_ldap.c:1483: error: `LDAP_OPT_X_TLS' undeclared (first use in this function) rlm_ldap.c:1491: warning: implicit declaration of function `ldap_start_tls_s' make: *** [rlm_ldap.o] Error 1 Any ideas? I've tried a myriad of thing including passing LDFLAGS and putting -llber at the RLM_LIBS line in the Makefile. Any help would certainly be appreciated as I've burned three days on this. Robert - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html