Need help with this one a bugging error

geeta geeta.tripathi at bhartitelesoft.com
Sat Mar 15 08:30:14 UTC 2003


Hello ,

When I run index.cgi from my command line my script runs ok. But when I run from the apache  gives the following errors-

I understand that this is a mysql shared library issue , I have done the work arounds.

But, still getting the  same errors.

Another issue I have installled Msql-Mysql-modules-1.2209, but checksetup.pl is always giving found v 2.0409 instead of 1.2209.

Now, is there any way to resolve this issue.

Enclosing the error that I got-
Uncaught exception from user code:
        install_driver(mysql) failed: Uncaught exception from user code:
        Uncaught exception from user code:
        Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for
module DBD::mysql: libmysqlclient.so.10: cannot open shared object file: No such file or di
rectory at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.

 at (eval 4) line 3
        Carp::croak('Can\'t load \'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD...')
called at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 93
        DynaLoader::croak('Can\'t load \'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD
...') called at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169
        DynaLoader::bootstrap('DBD::mysql', 2.0409) called at /usr/lib/perl5/site_perl/5.00
5/i386-linux/DBD/mysql.pm line 21
        require DBD/mysql.pm called at (eval 4) line 3
        eval 'package DBI::_firesafe; require DBD::mysql
;' called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 478
        DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l
inux/DBI.pm line 402
        DBI::connect('DBI', 'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te
sttest') called at globals.pl line 140
        main::ConnectToDatabase() called at index.cgi line 46
        eval 'package DBI::_firesafe; require DBD::mysql
;' called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 478
        DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l
inux/DBI.pm line 402
        DBI::connect('DBI', 'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te
sttest') called at globals.pl line 140
        main::ConnectToDatabase() called at index.cgi line 46
Perhaps a required shared library or dll isn't installed where expected
 at globals.pl line 140
        Carp::croak('install_driver(mysql) failed: Uncaught exception from user code:...')
called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 499
        DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l
inux/DBI.pm line 402
        DBI::connect('DBI', 'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te
sttest') called at globals.pl line 140
        main::ConnectToDatabase() called at index.cgi line 46

Looking forward to hear from you.

Thanks and regards,
Geeta 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20030315/cb821531/attachment.html>


More information about the developers mailing list