Problem with compile

Rob Wright suserob at poncacity.net
Mon Mar 26 22:29:49 CEST 2007


Greetings,

I'm trying to setup Freeradius 1.1.5 and I'm having a problem during 'make'. 
I'm using Debian Etch, with Perl 5.8.8.

I get the archive opened up and configure with the following:

./configure --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --prefix=/usr 
--with-radacctdir=/var/log/radacct --with-raddbdir=/etc/raddb  

The configure runs fine, no problems. 

I run 'make' and it errors out with the following output included below my 
signature. I'm sure I'm missing something, but I've been staring at it all 
day and can't come up with anything.

Suggestions?

Thanks,

Rob Wright
poncacity.net
suserob at poncacity.net

/home/rwright/Downloads/freeradius-1.1.5/libtool --mode=link gcc -release 
1.1.5 \
        -module -export-dynamic   -o rlm_perl.la     \
        -rpath /usr/lib rlm_perl.lo 
rlm_perl.c /home/rwright/Downloads/freeradius-1.1.5/src/lib/lib                   
radius.la \
        `perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv  -lpthread
gcc -shared  .libs/rlm_perl.o  -Wl,--rpath -Wl,/home/rwright/Downloads/freeradius-1.1.5/src/lib/.li                   
bs /home/rwright/Downloads/freeradius-1.1.5/src/lib/.libs/libradius.so -L/usr/local/lib -L/usr/lib/                   
perl/5.8/CORE -lperl -ldl -lm -lc -lcrypt -lnsl -lresolv -lpthread  -Wl,-E -Wl,-soname -Wl,rlm_perl -1.1.5.so -o .libs/rlm_perl-1.1.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 
`/home/rwright/Downloads/freeradius-1.1.5/src/modules/rlm_perl'
make[5]: *** [common] Error 2
make[5]: Leaving directory 
`/home/rwright/Downloads/freeradius-1.1.5/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/home/rwright/Downloads/freeradius-1.1.5/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/home/rwright/Downloads/freeradius-1.1.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rwright/Downloads/freeradius-1.1.5/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/home/rwright/Downloads/freeradius-1.1.5'
make: *** [all] Error 2



More information about the Freeradius-Users mailing list