rlm_perl: Can't load module DBI.so
Здравствуйте, FreeRadius. Module: Instantiating kes perl kes { module = "/usr/local/etc/raddb/kes.pl" 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/kes.pl line 6. BEGIN failed--compilation aborted at /usr/local/etc/raddb/kes.pl line 6. rlm_perl: perl_parse failed: /usr/local/etc/raddb/kes.pl not found or has syntax errors. /usr/local/etc/raddb/modules/perl[58]: Instantiation failed for module "kes" /usr/local/etc/raddb/sites-enabled/default[263]: Failed to find module "kes". /usr/local/etc/raddb/sites-enabled/default[263]: Failed to parse "kes" entry. Errors initializing modules When I commented out use of Data::Dumper in my perl kes module I get: Can't load '/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBI/DBI.so' for module DBI: /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBI/DBI.so: Undefined symbol "PL_dowarn" at /usr/local/lib/perl5/5.10.1/mach/DynaLoader.pm line 200. at /usr/local/lib/perl5/site_perl/5.10.1/mach/DBI.pm line 263 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.1/mach/DBI.pm line 263. Compilation failed in require at /usr/local/etc/raddb/kes.pl line 9. BEGIN failed--compilation aborted at /usr/local/etc/raddb/kes.pl line 9. rlm_perl: perl_parse failed: /usr/local/etc/raddb/kes.pl not found or has syntax errors. /usr/local/etc/raddb/modules/perl[58]: Instantiation failed for module "kes" /usr/local/etc/raddb/sites-enabled/default[263]: Failed to find module "kes". /usr/local/etc/raddb/sites-enabled/default[263]: Failed to parse "kes" entry. Errors initializing modules In common scripts those modules works fine without errors: #!/usr/bin/perl use Data::Dumper; my $a= { b => 3 }; print Dumper $a; That is freeradius do wrong thing loading modules or .. ? in 2.1.3 there were not errors -- С уважением, Коньков mailto:kes-kes@yandex.ru
Коньков Евгений wrote:
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
It turns out this is largely a bug in libltl. (Of course). We won't be able to address it directly in 2.1.8, but you should be able to do minor modifications to 2.1.8 that will fix it. Alan DeKok.
Здравствуйте, Alan. Вы писали 19 декабря 2009 г., 9:51:42: AD> Коньков Евгений wrote:
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
AD> It turns out this is largely a bug in libltl. (Of course). AD> We won't be able to address it directly in 2.1.8, but you should be AD> able to do minor modifications to 2.1.8 that will fix it. AD> Alan DeKok. Is that a bug with freeradius + perl5.10 or that is a bug in freeradius >2.1.3? -- С уважением, Коньков mailto:kes-kes@yandex.ru
participants (2)
-
Alan DeKok -
Коньков Евгений