On Tue, Sep 24, 2002 at 01:08:19PM -0300, Alberto Pereira wrote:

> I have a problem compiling freeradius0.7.1 on a debian woody system kernel 2.4.18.
> I used the debian/rules "binary" to compiling it, modified in ./configure to use:

> /configure --prefix=$(prefix) --exec-prefix=$(exec_prefix) --libdir=$(libdir) 
>--mandir=$(mandir) --with-logdir=$(logdir) --with-thread-pool 
>--enable-ltdl-install=no --enable-strict-dependencies --without-rlm_python 
>--without-rlm_ippool --without-rlm_counter --without-rlm_dbm --without-rlm_eap_tls 
>--without-rlm_krb5 --without-rlm_ldap --without-rlm_pam --without-rlm_sql_postgresql 
>--without-rlm_x99_token --disable-ltdl

> But its got an error:
> creating .libs/radiusdS.c
> (cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "radiusdS.c")
> rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
> gcc .libs/radiusdS.o -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
>-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
>-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
>-I../include -o .libs/radiusd radiusd.o files.o util.o acct.o nas.o log.o valuepair.o 
>version.o proxy.o exec.o auth.o timestr.o conffile.o modules.o modcall.o session.o 
>xlat.o threads.o smux.o radius_snmp.o client.o request_list.o -Wl,--export-dynamic  
>-L/usr/src/freeradius-0.7.1/src/lib -lnsl -lresolv -lpthread 
>/usr/src/freeradius-0.7.1/src/lib/.libs/libradius.so -lcrypt -Wl,--rpath 
>-Wl,/usr/lib/freeradius
> modules.o: In function `module_list_free':
> /usr/src/freeradius-0.7.1/src/main/modules.c:151: undefined reference to `lt_dlclose'
> modules.o: In function `linkto_module':
> /usr/src/freeradius-0.7.1/src/main/modules.c:231: undefined reference to 
>`lt_dlopenext'
> /usr/src/freeradius-0.7.1/src/main/modules.c:233: undefined reference to `lt_dlerror'
> /usr/src/freeradius-0.7.1/src/main/modules.c:254: undefined reference to `lt_dlsym'
> /usr/src/freeradius-0.7.1/src/main/modules.c:256: undefined reference to `lt_dlerror'
> /usr/src/freeradius-0.7.1/src/main/modules.c:260: undefined reference to `lt_dlclose'
> /usr/src/freeradius-0.7.1/src/main/modules.c:269: undefined reference to `lt_dlclose'
> modules.o: In function `setup_modules':
> /usr/src/freeradius-0.7.1/src/main/modules.c:611: undefined reference to 
>`lt_dlpreload_default'
> /usr/src/freeradius-0.7.1/src/main/modules.c:613: undefined reference to `lt_dlinit'
> /usr/src/freeradius-0.7.1/src/main/modules.c:614: undefined reference to `lt_dlerror'
> /usr/src/freeradius-0.7.1/src/main/modules.c:625: undefined reference to 
>`lt_dlsetsearchpath'
> /usr/src/freeradius-0.7.1/src/main/modules.c:627: undefined reference to 
>`lt_dlgetsearchpath'

> What I can do to fix this error?

Install the libltdl3-dev package.

Steve Langasek
postmodern programmer

Attachment: msg09606/pgp00000.pgp
Description: PGP signature

Reply via email to