List:General Discussion« Previous MessageNext Message »
From:Ray Brighenti Date:April 3 1999 6:12am
Subject:Dynaloader Problem?
View as plain text  
Hi,

OK here's the deal, I'm using Radiator Radius and am trying get it to log
to a MySQL DB. The DB is fine, Radiator is logging fine,

I have the following installed
DBI-1.06 and Msql-Mysql-modules-1.2014 (I also had to install 
Data-Dumper-2.10 and Data-ShowTable-3.3 before Mysql modules would install). 
and Perl version 5.004_04 built for i386-freebsd.

Whenever anything is sent to Radiator and it goes to access MySQL the
following gets spat at me

Sat Apr  3 15:34:53 1999: DEBUG: Handling with Radius::AuthSQL
install_driver(mysql) failed: Can't load
'/usr/local/lib/perl5/site_perl/i386-fr
eebsd/auto/DBD/mysql/mysql.so' for module DBD::mysql: Can't find shared
library
"libmysqlclient.so.5.2" at
/usr/local/lib/perl5/i386-freebsd/5.00404/DynaLoader.
pm line 166.

 at (eval 23) line 2

 at Radius/SqlDb.pm line 9

I checked and libmysqlclient.so.5.2 does exist in the
/usr/local/lib/perl5/i386-freebsd/5.00404/ directory alongside DynaLoader.pm

I checked line 166 and found this 
    my $libref = dl_load_file($file, $module->dl_load_flags) or
        croak("Can't load '$file' for module $module: ".dl_error()."\n")

This was also before it, but being new to this I can't understand exactaly
what it's saying

    # Many dynamic extension loading problems will appear to come from
    # this section of code: XYZ failed at line 123 of DynaLoader.pm.
    # Often these errors are actually occurring in the initialisation
    # C code of the extension XS file. Perl reports the error as being
    # in this perl code simply because this was the last perl code
    # it executed.


If soemone can help me I'd be very, very grateful

Thanks

Ray
Thread
Dynaloader Problem?Ray Brighenti3 Apr
  • Re: Dynaloader Problem?Thimble Smith4 Apr
  • Re: DateTime subtraction questionBryan W. Headley10 Jul