Re: freeradius 1.0.2 on bsd 4.11
Boian Jordanov said: > For me it looks like you have been linked rlm_perl with wrong libperl.so > > Solution: Install perl from ports collection (lang/perl5.8) and then > write 'use.perl port' and recompile freeradius. the first thing I did was install perl 5.6.2 after I 'cvsup'ed. did the 'use.perl port' as well. $ perl -V Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration: Platform: osname=freebsd, osvers=4.11-release, archname=i386-freebsd Did you try with 5.6.x ? we are currently a 5.6.x shop and we arn't ready to update all of our boxen and scripts to 5.8.x Instead how would I go about getting rlm_perl to link to /usr/local/lib/perl5/5.6.2/mach/CORE/libperl.so rather than /usr/lib/libperl.so on bsd 4.11? I don't mind not using the ports collection to compile freeradius (I got the same thing when I compiled from scratch), just prefer it. Cheers cya Andrew > Boian. > > On Wed, Feb 23, 2005 at 11:47:41AM +1030, Andrew D wrote: >> Hi there, >> >> Running freebsd 4.11 and compiled freeradius from the ports collection with support for rlm_perl. >> >> everything compiled alright, but everytime I start it (radiusd -X) I get the following. >> >> >> >> perl: func_xlat = "xlat" >> perl: perl_flags = "(null)" >> perl: func_start_accounting = "(null)" >> perl: func_stop_accounting = "(null)" >> DynaLoader object version 1.04 does not match $DynaLoader::VERSION 1.03 at /usr/libdata/perl/5.00503/DynaLoader.pm line 80. >> BEGIN failed--compilation aborted at /etc/raddb/rad_mod.pl line 28. rlm_perl: perl_parse failed: /etc/raddb/rad_mod.pl not found or has syntax errors. >> radiusd.conf[837]: pemod: Module instantiation failed. >> >> >> I have perl 5.6.2 installed (ports collection) and have the following in the perl script >> require 5.6.2; >> >> Doesn't matter what I do I keep getting the Dynaloader error. >> For whatever reason, radiusd wants to load perl 5.00503 instead of perl 5.6.2 >> >> perl, its modules and freeradius was compiled on the box rather than using the binary packages from the bsd ftp server. >> >> Just wondering if anyone else has come accross it and knows what the solution might be? >> >> Cheers >> cya >> Andrew - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: freeradius 1.0.2 on bsd 4.11
For me it looks like you have been linked rlm_perl with wrong libperl.so Solution: Install perl from ports collection (lang/perl5.8) and then write 'use.perl port' and recompile freeradius. Boian. On Wed, Feb 23, 2005 at 11:47:41AM +1030, Andrew D wrote: > Hi there, > > Running freebsd 4.11 and compiled freeradius from the ports collection > with support for rlm_perl. > > everything compiled alright, but everytime I start it (radiusd -X) > I get the following. > > > > perl: func_xlat = "xlat" > perl: perl_flags = "(null)" > perl: func_start_accounting = "(null)" > perl: func_stop_accounting = "(null)" > DynaLoader object version 1.04 does not match $DynaLoader::VERSION 1.03 > at /usr/libdata/perl/5.00503/DynaLoader.pm line 80. > BEGIN failed--compilation aborted at /etc/raddb/rad_mod.pl line 28. > rlm_perl: perl_parse failed: /etc/raddb/rad_mod.pl not found or has > syntax errors. > radiusd.conf[837]: pemod: Module instantiation failed. > > > I have perl 5.6.2 installed (ports collection) and have the following in > the perl script > require 5.6.2; > > Doesn't matter what I do I keep getting the Dynaloader error. > For whatever reason, radiusd wants to load perl 5.00503 instead of perl > 5.6.2 > > perl, its modules and freeradius was compiled on the box rather than > using the binary packages from the bsd ftp server. > > Just wondering if anyone else has come accross it and knows what the > solution might be? > > Cheers > cya > Andrew > > -- > Network Administrator / Manager > Webzone Internet > > 1st Floor (Oakley Street Entrance) > 167 Grote Street > Adelaide SA, 5000 > > Phone 1300 303 932 > Fax 08 8221 6204 > Email [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html -- Best Regards, Boian Jordanov SNE Orbitel - the Internet Company tel. +359 2 4004 723 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
freeradius 1.0.2 on bsd 4.11
Hi there, Running freebsd 4.11 and compiled freeradius from the ports collection with support for rlm_perl. everything compiled alright, but everytime I start it (radiusd -X) I get the following. perl: func_xlat = "xlat" perl: perl_flags = "(null)" perl: func_start_accounting = "(null)" perl: func_stop_accounting = "(null)" DynaLoader object version 1.04 does not match $DynaLoader::VERSION 1.03 at /usr/libdata/perl/5.00503/DynaLoader.pm line 80. BEGIN failed--compilation aborted at /etc/raddb/rad_mod.pl line 28. rlm_perl: perl_parse failed: /etc/raddb/rad_mod.pl not found or has syntax errors. radiusd.conf[837]: pemod: Module instantiation failed. I have perl 5.6.2 installed (ports collection) and have the following in the perl script require 5.6.2; Doesn't matter what I do I keep getting the Dynaloader error. For whatever reason, radiusd wants to load perl 5.00503 instead of perl 5.6.2 perl, its modules and freeradius was compiled on the box rather than using the binary packages from the bsd ftp server. Just wondering if anyone else has come accross it and knows what the solution might be? Cheers cya Andrew -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email [EMAIL PROTECTED] [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html