Kevin,

Just some things in the config.log:

conftest.c:11:22: lber.h: No such file or directory 
ld: fatal: library -lsasl: not found
ld: fatal: library -llber: not found
conftest.c:13: warning: function declaration isn't a prototype Undefined
first referenced symbol in file
ber_flatten2

You may need to add /path/to/liblber/lib to the environment variable
LD_LIBRARY_PATH

Regards
Andrew Milne.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kevin J
Sent: Thursday, 9 December 2004 8:34 AM
To: [EMAIL PROTECTED]
Subject: rlm_ldap configuration error

Hi

I compiled the latest version of openssl and berkeleydb, and compiled
openldap and installed it to openldap-tmp.

When I do the following for freeradius compilation:

./configure --enable-shared=no --prefix=`pwd`/../freeradius
--with-openssl-includes=`pwd`/../openssl-0.9.7e/include
--with-openssl-libraries=`pwd`/../openssl-0.9.7e
--with-rlm-ldap-include-dir=`pwd`/../openldap-tmp/includes
--with-rlm-ldap-lib-dir=`pwd`/../openldap-tmp/lib
--with-snmp=no

But, libldap was not recognized as the following:

checking for gcc option to accept ANSI C... none needed checking for
inet_aton in -lresolv... yes checking for lber.h... yes checking for
ldap.h... yes checking for sasl_encode in -lsasl... no checking for DH_new
in -lcrypto... yes checking for SSL_new in -lssl... yes checking for
ber_init in -llber... yes checking for ldap_init in -lldap... no
configure: WARNING: silently not building rlm_ldap.
configure: WARNING: FAILURE: rlm_ldap requires: libldap.

Do you know what is wrong? I put rlm_ldap/config.log below.

-kevin

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to