Re: 2.0.0-pre1 compile problem on ubuntu

2007-05-25 Thread Alan Dekok
Norbert Wegener wrote:
 on an ubuntu 6.06 configure does not show an error with  2.0.0-pre1.
...
 /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

  I see it, too.  I think it's because Dynloader is a static library, so
libtool is looking for libperl.a, not libperl.so.

  But I really don't know.  Did I mention I hate libtool?

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: 2.0.0-pre1 compile problem on ubuntu

2007-05-25 Thread A . L . M . Buxey
Hi,
 on an ubuntu 6.06 configure does not show an error with  2.0.0-pre1.
 Compiling fails:

apt-get libperl-dev


alan
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: 2.0.0-pre1 compile problem on ubuntu

2007-05-25 Thread Kostas Zorbadelos
On Fri, May 25, 2007 at 02:27:48PM +0200, Alan Dekok wrote:
 Norbert Wegener wrote:
  on an ubuntu 6.06 configure does not show an error with  2.0.0-pre1.
 ...
  /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
 
   I see it, too.  I think it's because Dynloader is a static library, so
 libtool is looking for libperl.a, not libperl.so.
 

This is because libpersl.so exists in the libperl-dev package. This is
standard Debian practice. 

   But I really don't know.  Did I mention I hate libtool?
 
   Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html