This is my command to install freeradius from source on Suse

installation de BerkeleyDB  4.3.28 NC
    cd build_unix
    ../dist/configure --prefix=/opt/db --enable-static --disable-shared
    make PREFIX=/opt/db install                                       


installation de openLDAP 2.2.26
LD_LIBRARY_PATH=/opt/db/lib
export LD_LIBRARY_PATH
CPPFLAGS=-I/opt/db/include
export CPPFLAGS
LDFLAGS=-L/opt/db/lib
export LDFLAGS
LIBS="-lresolv"
export LIBS

 ./configure --prefix=/opt/openldap --enable-static --disable-shared --enable-syslog --with-threads --enable-bdb

make depend
 make
 make install

Installation de freeradius 1.0.4
 ./configure --disable-shared --enable-static --prefix=/opt/freeradius/radiusALL --with-rlm-ldap-lib-dir=/opt/openldap/lib --with-rlm-ldap-include-dir=/opt/openldap/include
 make

but here I have a problem 
this is an extract
../modules/rlm_ldap/.libs/rlm_ldap.a(rlm_ldap.o)(.text+0x140): In function `ldap_detach':
/opt/freeradius/distrib.freeradius-1.0.4/src/modules/rlm_ldap/rlm_ldap.c:2181: undefined reference to `ldap_unbind_s'
../modules/rlm_ldap/.libs/rlm_ldap.a(rlm_ldap.o)(.text+0x368): In function `ldap_connect':
/opt/freeradius/distrib.freeradius-1.0.4/src/modules/rlm_ldap/rlm_ldap.c:1922: undefined reference to `ldap_initialize'
../modules/rlm_ldap/.libs/rlm_ldap.a(rlm_ldap.o)(.text+0x388):/opt/freeradius/distrib.freeradius-1.0.4/src/modules/rlm_ldap/rlm_ldap.c:1937: undefined reference to `ldap_set_option'
../modules/rlm_ldap/.libs/rlm_ldap.a(rlm_ldap.o)(.text+0x3a3):/opt/freeradius/distrib.freeradius-1.0.4/src/modules/rlm_ldap/rlm_ldap.c:1940: undefined reference to `ldap_set_option'
../modules/rlm_ldap/.libs/rlm_ldap.a(rlm_ldap.o)(.text+0x3d7):/opt/freeradius/distrib.freeradius-1.0.4/src/modules/rlm_ldap/rlm_ldap.c:1947: undefined reference to `ldap_set_option'
../modules/rlm_ldap/.libs/rlm_ldap.a(rlm_ldap.o)(.text+0x407):/opt/freeradius/distrib.freeradius-1.0.4/src/modules/rlm_ldap/rlm_ldap.c:1953: undefined reference to `ldap_set_option'


Have you an idea ?





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

Reply via email to