2.0.0pre1 - Solaris
Chris Parker
cparker at starnetusa.net
Wed Jul 11 17:27:18 CEST 2007
On Jul 10, 2007, at 4:06 PM, Alan DeKok wrote:
> Chris Parker wrote:
>> Finally getting around to testing our 2.0.0-pre1 on some systems.
>
> Don't. The CVS head has a lot more features, and a number of
> bugs fixed.
Running CVS head now.
>> rlm_perl fails miserably to link, so I had to remove that from
>> stable.
>
> I believe I've fixed that.
It works on my CentOS box, it still fails on Solaris 9.
make[6]: Entering directory `/usr/local/src/radiusd-head/src/modules/
rlm_perl'
/usr/local/src/radiusd-head/libtool --mode=link gcc -release 2.0.0-
pre2 \
-module -export-dynamic -o rlm_perl.la \
-rpath /usr/local/lib rlm_perl.lo rlm_perl.c /usr/local/src/radiusd-
head/src/lib/libradius.la \
`perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv -lsocket -lposix4 -
lpthread
Note (probably harmless): No library found for -lbind
*** Warning: Linking the shared library rlm_perl.la against the
*** static library /usr/local/lib/perl5/5.8.5/sun4-solaris/auto/
DynaLoader/DynaLoader.a is not portable!
gcc -shared -Wl,-h -Wl,rlm_perl-2.0.0-pre2.so -o .libs/rlm_perl-2.0.0-
pre2.so .libs/rlm_perl.o -R/usr/local/src/radiusd-head/src/
lib/.libs -R/usr/local/lib /usr/local/src/radiusd-head/src/lib/.libs/
libradius.so -L/usr/local/lib -L/opt/gnu/lib /usr/local/lib/
perl5/5.8.5/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/usr/local/
lib/perl5/5.8.5/sun4-solaris/CORE -lperl -ldl -lm -lc -lnsl -lresolv -
lsocket -lposix4 -lpthread -lc
Text relocation remains referenced
against symbol offset in file
<unknown> 0x25d0 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(perl.o)
<unknown> 0x25d4 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(perl.o)
...
setprotoent 0xdd14 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
endprotoent 0xde8c /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
getpeername 0x7f18 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
__floatdidf 0x59e8 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
__floatdidf 0x5c20 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
__floatdidf 0x5d30 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
__floatdidf 0x8744 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
__floatdidf 0x8f90 /usr/local/lib/
perl5/5.8.5/sun4-solaris/CORE/libperl.a(pp_sys.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
The output from perl is:
$perl -MExtUtils::Embed -e ldopts
Note (probably harmless): No library found for -lbind
-L/usr/local/lib -L/opt/gnu/lib /usr/local/lib/perl5/5.8.5/sun4-
solaris/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.5/
sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc
>> Solaris sed doesn't accept '-i', so the command:
>
> Fixed.
Yep. :)
-Chris
--
Chris Parker
Director, Systems
StarNet - US LEC, now a PAETEC Company
(888)212-0099 Fax (847)963-1302
Wholesale Internet and VoIP Services http://www.megapop.net
NOTICE: Message is sent IN CONFIDENCE to addressees. It may contain
information that is privileged, proprietary or confidential.
More information about the Freeradius-Devel
mailing list