linux@si4u.net has asked for the wisdom of the Perl Monks concerning the following question:

ok, i am in a pickel, i am trying to set up radius software that authenticates to a MySQL database, i have DBI, the correct DBD driver, mysql-server, all installed. i get an error when i start up radiator ( the radius software) i get an error message that "Could not load authentication module Radius::AuthSQL: Can't locate loadable object for module DBI in @INC (@INC contains: . /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/i386-linux/DBI.pm line 223" i think it cant find an object it is looking for but have no clue about how to find out, i am more or less looking for a point in the right direction and some advise, i thank you for reading this message.

Replies are listed 'Best First'.
Re: radiator/dbi/mysql
by mpeppler (Vicar) on Feb 15, 2002 at 01:38 UTC
    Does DBI work on it's own?

    This seems like an installation problem of the DBI module - when you build DBI this creates two files - DBI.pm and DBI.so - and the latter is the "loadable object" that Radius::AuthSQL is complaining about. This file should normally be in /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI.so.
    Check that location - if it's not there then try reinstalling DBI.

    Michael