<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><STRONG><FONT face=Arial size=2>Hello ,</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>When I run index.cgi from my command line
my script runs ok. But when I run from the apache gives the following
errors-</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>I understand that this is a mysql shared
library issue , I have done the work arounds.</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>But, still getting the same
errors.</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Another issue I have installled
Msql-Mysql-modules-1.2209, but checksetup.pl is always giving found v 2.0409
instead of 1.2209.</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Now, is there any way to resolve this
issue.</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Enclosing the error that I got-</FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2>Uncaught exception from user
code:<BR> install_driver(mysql)
failed: Uncaught exception from user
code:<BR> Uncaught exception from user
code:<BR> Can't load
'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so'
for<BR>module DBD::mysql: libmysqlclient.so.10: cannot open shared object file:
No such file or di<BR>rectory at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm
line 169.</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT face=Arial size=2> at (eval 4) line
3<BR> Carp::croak('Can\'t load
\'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD...')<BR>called at
/usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
93<BR> DynaLoader::croak('Can\'t load
\'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD<BR>...') called at
/usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
169<BR>
DynaLoader::bootstrap('DBD::mysql', 2.0409) called at
/usr/lib/perl5/site_perl/5.00<BR>5/i386-linux/DBD/mysql.pm line
21<BR> require DBD/mysql.pm called at
(eval 4) line 3<BR> eval 'package
DBI::_firesafe; require DBD::mysql<BR>;' called at
/usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line
478<BR> DBI::install_driver('DBI',
'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l<BR>inux/DBI.pm line
402<BR> DBI::connect('DBI',
'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te<BR>sttest')
called at globals.pl line 140<BR>
main::ConnectToDatabase() called at index.cgi line
46<BR> eval 'package DBI::_firesafe;
require DBD::mysql<BR>;' called at
/usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line
478<BR> DBI::install_driver('DBI',
'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l<BR>inux/DBI.pm line
402<BR> DBI::connect('DBI',
'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te<BR>sttest')
called at globals.pl line 140<BR>
main::ConnectToDatabase() called at index.cgi line 46<BR>Perhaps a required
shared library or dll isn't installed where expected<BR> at globals.pl line
140<BR>
Carp::croak('install_driver(mysql) failed: Uncaught exception from user
code:...')<BR>called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line
499<BR> DBI::install_driver('DBI',
'mysql') called at /usr/lib/perl5/site_perl/5.005/i386-l<BR>inux/DBI.pm line
402<BR> DBI::connect('DBI',
'DBI:mysql:host=localhost;database=test;port=3306', 'test', 'te<BR>sttest')
called at globals.pl line 140<BR>
main::ConnectToDatabase() called at index.cgi line 46</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Looking forward to hear from
you.</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Thanks and regards,</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Geeta </STRONG></FONT></DIV></BODY></HTML>