DBI version error
From: Rob (sushilover111_at_hotmail.com)
Date: 10/26/04
- Previous message: John Bokma: "Re: Namespace and comments on usefulness sought"
- Next in thread: Brian McCauley: "Re: DBI version error"
- Reply: Brian McCauley: "Re: DBI version error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Oct 2004 10:49:09 -0700
Hi,
I tried searching for this answer but have not been able to find it.
I'm running ActiveState Perl 5.8.3.809 on Windows 2000. I installed
DBI and DBD-mysql:
ppm> install DBI
ppm> install DBD-mysql
Both seemed to install fine. When I run a Perl script that tries to
use DBI I get an error in my Apache log:
DBI object version 1.43 does not match $DBI::VERSION 1.45 at
C:/Perl/lib/DynaLoader.pm line 249.
I've tried uninstalling DBI and DBD-mysql with the same result.
The weird thing is if I edit c:\Perl\lib\DBI.pm and change
BEGIN {
$DBI::VERSION = "1.45"; # ==> ALSO update the version in the pod text
below!
}
to
BEGIN {
$DBI::VERSION = "1.43"; # ==> ALSO update the version in the pod text
below!
}
It works great - though I'm uncomfortable with this "solution." Any
ideas?
Thanks - Rob.
- Previous message: John Bokma: "Re: Namespace and comments on usefulness sought"
- Next in thread: Brian McCauley: "Re: DBI version error"
- Reply: Brian McCauley: "Re: DBI version error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|