Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello , I intalled DBI in a Win32 environments. it run fine when I issue PPM Install DBI. The instalation was successfull but when I tried to run a script using DBI. I got an error message. "DBI object version 1.42 does not match $DBI::VERSION 1.43 at C:\Perl\Lib\Dynaloader.pm line 253 BEGIN Failed --compilation aborted at C:/Perl/lib/DBI.pm line 258" I have installed Active Perl version 5.8 Has anyone seen this error message? I've been trying to connect to a sql 2000 db fo the past week without success. Could someone point me in the right direction or at least give me hint on what do I need to look for ? Thanks in advance.

Replies are listed 'Best First'.
Re: Problems installing DBI in Windows
by bart (Canon) on Jul 05, 2004 at 19:44 UTC
    As DBI 1.43 was only announced earlier today, I think you're falling between two chairs, getting a mixed distribution between DBI 1.42 (the DLL) and DBI 1.43 (the pure perl side of DBI).

    Don't ask me how, but you should try to get a distribution as a whole, either 1.42, or an older release, and install it locally (search the repositories). Or, wait a few days for the dust to settle.