FreeBSD Port: freeradius-2.1.6

Søren Schrøder soeren.schroeder at gmail.com
Tue Feb 2 15:15:28 UTC 2010


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 = "/usr/local/etc/raddb/perl/sch.pm"
        func_authorize = "authorize"
        func_authenticate = "authenticate"
        func_accounting = "accounting"
        func_preacct = "preacct"
        func_checksimul = "checksimul"
        func_detach = "detach"
        func_xlat = "xlat"
        func_pre_proxy = "pre_proxy"
        func_post_proxy = "post_proxy"
        func_post_auth = "post_auth"
  }
Can't load '/usr/local/lib/perl5/5.10.1/mach/auto/Data/Dumper/Dumper.so' for
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øren Schrøder

Happy FreeBSD user since 1.x


More information about the freebsd-ports mailing list