DBI version error

From: Rob (sushilover111_at_hotmail.com)
Date: 10/26/04

  • Next message: george: "Win32-PerfMon on Win32"
    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.


  • Next message: george: "Win32-PerfMon on Win32"

    Relevant Pages

    • Problem with new Version of DBD-mysql on Activeperl 5.8x
      ... I install the DBI and DBD-mysql from http://theoryx5.uwinnipeg.ca/ppms. ... I have a perl program which has multiple sql statements accessing my ...
      (perl.dbi.users)
    • Errors in DBI installation!!
      ... I am getting the errors when trying to install DBI module. ... Perl versions below 5.6.1 are no longer supported by the DBI. ... *** Error code 1 ...
      (perl.dbi.users)
    • Problem of DBI build
      ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
      (perl.dbi.users)
    • Problem of DBI build
      ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
      (perl.dbi.users)
    • Fwd: DBI install error,can you help me?
      ... Are you sure the compiler you have is the one used to build Perl? ... I try to install the DBI package but it failed. ... d declaration specifiers or '...' ...
      (perl.dbi.users)