freeradius 2.0.5 linking error with rlm_perl on solaris10

Nicolas Goutte nicolas.goutte at extragroup.de
Wed Jul 2 14:20:09 CEST 2008


Am 02.07.2008 um 14:05 schrieb Ubale, Abhishek Amarnath:

> Hi,
>
> Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im  
> only interested in rlm_perl module. My configure script is
>
> ./configure --prefix=/usr/local/radius --with-static-modules=perl -- 
> disable-shared --without-rlm_sql --without-rlm_eap --without- 
> rlm_ldap --without-rlm_krb5 --without-rlm_python --without- 
> rlm_counter --without-rlm_ippool --without-rlm_otp --without- 
> rlm_acctlog --without-rlm_caching --without-rlm_chap --without- 
> rlm_dbm --without-rlm_detail --without-rlm_digest --without- 
> rlm_mschap --without-rlm_unix --without-rlm_smb --without-rlm_realm  
> --without-rlm_radutmp --without-rlm_preprocess --without-rlm_passwd  
> --without-rlm_pap --without-rlm_pam --without-rlm_opendirectory -- 
> without-rlm_logintime --without-rlm_linelog --without-rlm_jradius -- 
> without-rlm_files --without-rlm_fastusers --without-rlm_detail -- 
> without-rlm_cram --without-rlm_copy_packet --without-rlm_checkval -- 
> without-rlm_attr_filter --without-rlm_attr_rewrite --without- 
> rlm_always --without-rlm_sqlippool
>
> ./gmake is throwing out errors as follows:
> [...]
> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - 
> D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2
> 2.0.5/src -I/var/tmp/freeradius-server-2.0.5/libltdl -I/usr/local/ 
> include -I/opt/local/include -D_LARGEFILE_SOURCE -D
> D_FILE_OFFSET_BITS=64 -I/usr/local/perl-5.8.3/lib/5.8.3/sun4- 
> solaris/CORE -c rlm_perl.c -o rlm_perl.o >/dev/null 2>&1
> /var/tmp/freeradius-server-2.0.5/libtool --mode=link gcc -release  
> 2.0.5 \
> -module -static   -o rlm_perl.la     \
> -rpath /usr/local/radius/lib rlm_perl.lo rlm_perl.c /var/tmp/ 
> freeradius-server-2.0.5/src/lib/libfreeradius-radius.la `perl - 
> MExtUtils::Embed -e ldopts` -lnsl -lresolv -lsocket -lposix4  - 
> lpthread
>
> *** Warning: Linking the shared library rlm_perl.la against the
> *** static library /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/ 
> auto/DynaLoader/DynaLoader.a is not portable!
> [...]
> /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized
> /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized
> /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized
> /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized
> ../modules/rlm_perl/.libs/rlm_perl.a(rlm_perl.o): In function  
> `xs_init':
> rlm_perl.o(.text+0x110): undefined reference to `boot_DynaLoader'
> rlm_perl.o(.text+0x114): undefined reference to `boot_DynaLoader'
> collect2: ld returned 1 exit status
> gmake[4]: *** [radiusd] Error 1
> gmake[3]: *** [common] Error 2
> gmake[2]: *** [all] Error 2
> gmake[1]: *** [common] Error 2
> gmake: *** [all] Error 2
>
If you do not need the Perl module, rename the directory so that it  
does not compile.

(This has been recommended a few times on this mailing list for  
compiling on Macs and I had to do it too.)

However if you need Perl, then I have no idea how to fix it.
>
> Please help me out here.
>
> thanks
> Abhishek
>

Have a nice day!
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/ 
> users.html

Nicolas Goutte


extragroup GmbH - Karlsruhe
Waldstr. 49
76133 Karlsruhe
Germany

Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle
Registergericht: Amtsgericht Münster / HRB: 5624
Steuer Nr.: 337/5903/0421 / UstID: DE 204607841



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080702/d9b47414/attachment.html>


More information about the Freeradius-Users mailing list