freeradius 1.0.4 ldap compilation
    Marc-Henri Boisis-delavaud 
    marc-henri.boisis-delavaud at univ-lr.fr
       
    Mon Jul  4 10:01:44 CEST 2005
    
    
  
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20050704/894f4e81/attachment.html>
    
    
More information about the Freeradius-Users
mailing list