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