You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Andrew Koebrick <an...@mnplan.state.mn.us> on 2000/12/27 18:05:24 UTC

DBI DBD::mysql problems

Greetings,

I'm getting grief while trying to run DBI/DBD::mysql (running through Apache::ASP if that matters).  Pages which work fine on another development server spew the following when run on the new install:

>>  DBD::mysql object version 2.0415 does not match bootstrp 
>>  parameter 2.0413 at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm 
>>  line 219. <--> Compilation failed in require at (eval 36) line 97. <-->
>>  BEGIN failed--compilation aborted at (eval 36) line 97. <--> , 
>>  /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1740

Box: Red Hat 7.0
Server: apache-1.3.14-3  

I have tried reinstalling all the pieces with the freshest of CPAN distributions, to no avail.  Any other suggestions?  

Many thanks,


Andrew Koebrick
Web Coordinator/Librarian
MN-Planning (Office of Strategic and Long Range Planning)
658 Cedar St., Suite 300
St. Paul, MN 55155

651-296-4156 phone
651-296-3698 fax

www.mnplan.state.mn.us



Re: DBI DBD::mysql problems

Posted by Stas Bekman <st...@stason.org>.
On Wed, 27 Dec 2000, Andrew Koebrick wrote:

> Greetings,
> 
> I'm getting grief while trying to run DBI/DBD::mysql (running through Apache::ASP if that matters).  Pages which work fine on another development server spew the following when run on the new install:
> 
> >>  DBD::mysql object version 2.0415 does not match bootstrp 
> >>  parameter 2.0413 at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm 
> >>  line 219. <--> Compilation failed in require at (eval 36) line 97. <-->
> >>  BEGIN failed--compilation aborted at (eval 36) line 97. <--> , 
> >>  /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1740
> 
> Box: Red Hat 7.0
> Server: apache-1.3.14-3  
> 
> I have tried reinstalling all the pieces with the freshest of CPAN distributions, to no avail.  Any other suggestions?  

It's possible that you have DBD files duplicated in different directories
and the older version is coming first in @INC. Remove them all and
reinstall.

% find /usr/lib/perl5 -name DBD -exec rm {} \;

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:stas@stason.org   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/