DynaLoader loading problem
Alan Lumb
freeradius at siblin.co.uk
Mon Jul 31 10:21:11 CEST 2006
Looks to me like the version of Dynaloader.so that rlm_perl is using is
newer than the version of Dynaloader.pm thats in the path.
Dynaloader.pm comes as part of perl, so there must be a version on your
hard disk somewhere either not in the path or coming in lower down your
path list than the one being used. Try temporarily moving
/usr/libdata/perl/5.00503/DynaLoader.pm out of the way to a backup
directory, or failing that searching your hard disk for instances of
DynaLoader.pm and modifying @INC to include that search path at the top of
your script would be a place to start.
> FreeBSD 4.11
> FreeRADIUS 1.0.4
>
> I've installed rlm_perl in 1.0.4 version since it's not by default
> installed.. and trying to add perl script to add attribute during
> authorization and while restart:-
>
> NOTE: newtimeout2.pl - using original example.pl with added one sub
> routine
> line 30 as reported is line with "use Data::Dumper;"
>
>
> ####################################################################
> 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 /usr/local/etc/raddb/newtimeout2.pl
> line 30.
> rlm_perl: perl_parse failed: /usr/local/etc/raddb/newtimeout2.pl not found
> or has syntax errors.
> radiusd.conf[1643]: myperl: Module instantiation failed.
>
> #################################################################
>
> I've recently upgraded perl to 5.8.2 from 5.00503.... Freeradius been
> installed during old perl. But although I've recompiled again radius 1.0.4
> with new perl environment.. Still received above error..
>
> --haizam
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list