Dear All,

I use a Linux system called Ubuntu. Yesterday I tried to complier the 
freeradius 1.1.4. When I begun to make, there is something wrong.

This is the error log:

Making all in rlm_passwd...
make[6]: Entering directory 
make[6]: Leaving directory `/home/stone/freeradius-1.1.4/src/modules/rlm_passwd'
Making all in rlm_perl...
make[6]: Entering directory `/home/stone/freeradius-1.1.4/src/modules/rlm_perl'
/home/stone/freeradius-1.1.4/libtool --mode=link gcc -release 1.1.4 \
        -module -export-dynamic   -o     \
        -rpath /usr/local/lib rlm_perl.lo rlm_perl.c 
/home/stone/freeradius-1.1.4/src/lib/ \
        `perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv  -lpthread 

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

How can I slove it?

Regards Zhang
List info/subscribe/unsubscribe? See

Reply via email to