problems compiling, but works, or don't??

pelusa vali pelusitavali at hotmail.com
Thu Jan 26 00:08:38 CET 2006


hi every body, well trying to use freeradius v 1.0.5 to add security to a 
wlan, i configured this to use with openssl and eap-tls with this command:

./configure --prefix=/usr/local/ 
--with-openssl-includes=/usr/local/ssl/include/ --with-experimental-modules 
--enable-ltdl-install

when i type make, get this error:

Making static dynamic in rlm_perl...
make[6]: Entering directory `/usr/src/freeradius-1.0.5/src/modules/rlm_perl'
/usr/src/freeradius-1.0.5/libtool --mode=link gcc -release 1.0.5 \
-module -export-dynamic   \
-o rlm_perl.la -rpath /usr/local//lib rlm_perl.lo `perl -MExtUtils::Embed -e 
ldopts` -lssl -lcrypto -lnsl -lresolv  -lpthread

*** Warning: Linking the shared library rlm_perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not 
portable!
rm -fr .libs/rlm_perl.la .libs/rlm_perl.* .libs/rlm_perl-1.0.5.*
gcc -shared  rlm_perl.lo  -L/usr/local/lib 
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE 
-lperl -ldl -lm -lpthread -lc -lcrypt -lssl -lcrypto -lnsl -lresolv 
-lpthread  -Wl,-E -Wl,-soname -Wl,rlm_perl-1.0.5.so -o 
.libs/rlm_perl-1.0.5.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[6]: *** [rlm_perl.la] Error 1
make[6]: Leaving directory `/usr/src/freeradius-1.0.5/src/modules/rlm_perl'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/usr/src/freeradius-1.0.5/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/freeradius-1.0.5/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/usr/src/freeradius-1.0.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/freeradius-1.0.5/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/usr/src/freeradius-1.0.5'
make: *** [all] Error 2

i have installed libsdl-perl and in 
/usr/src/freeradius-1.0.5/src/modules/rlm_eap/types/rlm_eap_tls/Makefile i 
have this:

TARGET      = rlm_eap_tls
SRCS        = rlm_eap_tls.c eap_tls.c cb.c tls.c mppe_keys.c
RLM_CFLAGS  = $(INCLTDL) -I../.. -I/usr/local/ssl/include/
HEADERS     = eap_tls.h
RLM_INSTALL =
RLM_LDFLAGS += -I/usr/local/ssl/lib
RLM_LIBS    += -lssl -lcrypto

$(STATIC_OBJS): $(HEADERS)

$(DYNAMIC_OBJS): $(HEADERS)

RLM_DIR=../../
include ${RLM_DIR}../rules.mak

well why this error occurs and how could i solve?? i just can install if 
don't compile with --with-experimental-modules, so what happen if i don't 
use those experimental modules?? could freeradius work in my wlan as i hope?
thanks in advance for your time.

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/




More information about the Freeradius-Users mailing list