<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>freeradius 2.0.5 linking error with rlm_perl on solaris10</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im only interested in rlm_perl module. My configure script is<B> </B></FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">./configure --prefix=/usr/local/radius</FONT><B> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">--with-static-modules=perl --disable-shared</FONT></B> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">--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</FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">./gmake is throwing out errors as follows:</FONT><B></B>

<BR><FONT SIZE=2 FACE="Arial">[...]</FONT>

<BR><FONT SIZE=2 FACE="Arial">gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2</FONT>

<BR><FONT SIZE=2 FACE="Arial">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</FONT>

<BR><FONT SIZE=2 FACE="Arial">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</FONT>

<BR><FONT SIZE=2 FACE="Arial">/var/tmp/freeradius-server-2.0.5/libtool --mode=link gcc -release 2.0.5 \</FONT>

<BR><FONT SIZE=2 FACE="Arial">-module -static   -o rlm_perl.la     \</FONT>

<BR><FONT SIZE=2 FACE="Arial">-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</FONT><B></B></P>

<P><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">*** Warning: Linking the shared library rlm_perl.la against the</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">*** static library /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/auto/DynaLoader/DynaLoader.a is not portable!</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">[...]</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">/usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">../modules/rlm_perl/.libs/rlm_perl.a(rlm_perl.o): In function `xs_init':</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">rlm_perl.o(.text+0x110): undefined reference to `boot_DynaLoader'</FONT></B>

<BR><B><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">rlm_perl.o(.text+0x114): undefined reference to `boot_DynaLoader'</FONT></B>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">collect2: ld returned 1 exit status</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">gmake[4]: *** [radiusd] Error 1</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">gmake[3]: *** [common] Error 2</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">gmake[2]: *** [all] Error 2</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">gmake[1]: *** [common] Error 2</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">gmake: *** [all] Error 2</FONT>
</P>
<BR>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Please help me out here.</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">thanks</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Abhishek</FONT>
</P>
<BR>
<BR>
<BR>

</BODY>
</HTML>