Hi All, Would appreciate some help getting rlm_perl working with my perl script, I can successfully run my perl script externally from freeradius, and likewise can run freeradius with a perl script that doesn't involve DBI. I'm using hardy with the perl packaged from intrepid, and a semi-custom build of 2.04 packaged with difsg-5 (from deiban testing). Here's the point it fails on start up, line 11 in scratchlimit.pl is "use DBI;" Not really sure where to head next, I appreciate this may be more of a Perl problem, but as I mentioned the script works just dandy when run by itself. <snip> Mon Sep 15 21:44:26 2008 : Debug: perl { Mon Sep 15 21:44:26 2008 : Debug: module = "/usr/bin/scratchlimit.pl" Mon Sep 15 21:44:26 2008 : Debug: func_authorize = "authorize" Mon Sep 15 21:44:26 2008 : Debug: func_authenticate = "authenticate" Mon Sep 15 21:44:26 2008 : Debug: func_accounting = "accounting" Mon Sep 15 21:44:26 2008 : Debug: func_preacct = "preacct" Mon Sep 15 21:44:26 2008 : Debug: func_checksimul = "checksimul" Mon Sep 15 21:44:26 2008 : Debug: func_detach = "detach" Mon Sep 15 21:44:26 2008 : Debug: func_xlat = "xlat" Mon Sep 15 21:44:26 2008 : Debug: func_pre_proxy = "pre_proxy" Mon Sep 15 21:44:26 2008 : Debug: func_post_proxy = "post_proxy" Mon Sep 15 21:44:26 2008 : Debug: func_post_auth = "post_auth" Mon Sep 15 21:44:26 2008 : Debug: } Can't load '/usr/lib/perl5/auto/DBI/DBI.so' for module DBI: /usr/lib/perl5/auto/DBI/DBI.so: undefined symbol: PL_memory_wrap at /usr/lib/perl/5.10/DynaLoader.pm line 196. at /usr/lib/perl5/DBI.pm line 263 BEGIN failed--compilation aborted at /usr/lib/perl5/DBI.pm line 263. Compilation failed in require at /usr/bin/scratchlimit.pl line 11. BEGIN failed--compilation aborted at /usr/bin/scratchlimit.pl line 11. Mon Sep 15 21:44:26 2008 : Error: rlm_perl: perl_parse failed: /usr/bin/scratchlimit.pl not found or has syntax errors. Mon Sep 15 21:44:26 2008 : Error: /etc/freeradius/radiusd.conf[1577]: Instantiation failed for module "perl" Mon Sep 15 21:44:26 2008 : Error: /etc/freeradius/sites-enabled/default[243]: Failed to find module "perl". Mon Sep 15 21:44:26 2008 : Error: /etc/freeradius/sites-enabled/default[243]: Failed to parse "perl" entry. Mon Sep 15 21:44:26 2008 : Debug: } Mon Sep 15 21:44:26 2008 : Debug: } Mon Sep 15 21:44:26 2008 : Error: Errors initializing modules Cheers Russ.