Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2010 15:46:42 +0100
From:      =?ISO-8859-1?Q?S=F8ren_Schr=F8der?= <soeren.schroeder@gmail.com>
To:        david@wood2.org.uk
Cc:        ports@freebsd.org
Subject:   FreeBSD Port: freeradius-2.1.6
Message-ID:  <a5b802961002020646m5adc753p3f24f81f3b1d47d1@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Greeting

I have problems with FreeRadius 2.1.6 and rlm_perl

I updated from 2.1.1 (using portmaster) and perl support got broken.

according to freeradius mailinglist, this is due to some libtool2.2 vs
libtool 1.5 issue. (or libltld - not much info avaliable)

http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg60275.=
html

I fetched the 2.1.8 tarball from the project and did a "configure/gmake
install" and it works now

I verified the bug on a system that never had freeradius installed before
(claen install) and got the bug there too. I tested with perl 5.8.9 and
5.10.1 and the bug follows freeradius, not perl.

---------

radiusd -f -X

server ggsn {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_perl
 Module: Instantiating perl
  perl {
        module =3D "/usr/local/etc/raddb/perl/sch.pm"
        func_authorize =3D "authorize"
        func_authenticate =3D "authenticate"
        func_accounting =3D "accounting"
        func_preacct =3D "preacct"
        func_checksimul =3D "checksimul"
        func_detach =3D "detach"
        func_xlat =3D "xlat"
        func_pre_proxy =3D "pre_proxy"
        func_post_proxy =3D "post_proxy"
        func_post_auth =3D "post_auth"
  }
Can't load '/usr/local/lib/perl5/5.10.1/mach/auto/Data/Dumper/Dumper.so' fo=
r
module Data::Dumper:
/usr/local/lib/perl5/5.10.1/mach/auto/Data/Dumper/Dumper.so: Undefined
symbol "PL_sv_undef" at /usr/local/lib/perl5/5.10.1/mach/XSLoader.pm line
70.
 at /usr/local/lib/perl5/5.10.1/mach/Data/Dumper.pm line 36
Compilation failed in require at /usr/local/etc/raddb/perl/sch.pm line 7.
BEGIN failed--compilation aborted at /usr/local/etc/raddb/perl/sch.pm line
7.
rlm_perl: perl_parse failed: /usr/local/etc/raddb/perl/sch.pm not found or
has syntax errors.
/usr/local/etc/raddb/radiusd.conf[166]: Instantiation failed for module
"perl"
/usr/local/etc/raddb/radiusd.conf[290]: Failed to find module "perl".
/usr/local/etc/raddb/radiusd.conf[290]: Failed to parse "perl" entry.
Errors initializing modules


Kind regards (and thanks for your work)

S=F8ren Schr=F8der

Happy FreeBSD user since 1.x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a5b802961002020646m5adc753p3f24f81f3b1d47d1>