2.0.0-pre1 compile problem on ubuntu

Norbert Wegener norbert.wegener at siemens.com
Fri May 25 13:27:11 CEST 2007


on an ubuntu 6.06 configure does not show an error with  2.0.0-pre1.
Compiling fails:
.....
make[6]: Betrete Verzeichnis 
'/home/norbert/Desktop/freeradius-server-2.0.0-pre1/src/modules/rlm_perl'^M
/home/norbert/Desktop/freeradius-server-2.0.0-pre1/libtool --mode=link 
gcc -release 2.0.0-pre1 \^M
        -module -export-dynamic   -o rlm_perl.la     \^M
        -rpath /usr/local/lib rlm_perl.lo rlm_perl.c 
/home/norbert/Desktop/freeradius-server-2.0.0-pre1/src/lib/libradius.la \^M
        `perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv  -lpthread^M
^M
*** Warning: Linking the shared library rlm_perl.la against the^M
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not 
portable!^M
gcc -shared  .libs/rlm_perl.o  -Wl,--rpath 
-Wl,/home/norbert/Desktop/freeradius-server-2.0.0-pre1/src/lib/.libs 
-Wl,--rpath -Wl,/usr/local/lib 
/home/norbert/Desktop/freeradius-server-2.0.0-pre1/src/lib/.libs/libradius.so 
-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,rlm_perl-2.0.0-pre1.so -o 
.libs/rlm_perl-2.0.0-pre1.so^M
/usr/bin/ld: cannot find -lperl^M
....

On the other hand, dpkg shows:

 dpkg -l|grep libperl
ii  libperl5.8                                 5.8.8-7build1

Norbert Wegener




More information about the Freeradius-Users mailing list