473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

DBI error

Hi everybody

I am a beginner in Perl DBI.
The following dummy code

"
#!c:\perl\bin\perl.exe
#
use DBI;
"

returns this error message:

"
DBI object version 1.34 does not match $DBI::VERSION 1.35 at
C:/Perl/lib/DynaLoader.pm line 249.
BEGIN failed--compilation aborted at C:/Perl/lib/DBI.pm line 255.
Compilation failed in require at dbi01.pl line 1.
BEGIN failed--compilation aborted at dbi01.pl line 1.
"

What is wrong ?
Jul 19 '05 #1
2 5939
I'm far from being an expert when it comes to the DBI, but if you're getting
a version mismatch it's probably a good idea for you to update your copy of
DBI.pm and the related files.
gr*********@axis.hu (Laszlo) wrote in message news:<20**************************@posting.google. com>...
Hi everybody

I am a beginner in Perl DBI.
The following dummy code

"
#!c:\perl\bin\perl.exe
#
use DBI;
"

returns this error message:

"
DBI object version 1.34 does not match $DBI::VERSION 1.35 at
C:/Perl/lib/DynaLoader.pm line 249.
BEGIN failed--compilation aborted at C:/Perl/lib/DBI.pm line 255.
Compilation failed in require at dbi01.pl line 1.
BEGIN failed--compilation aborted at dbi01.pl line 1.
"

What is wrong ?

Jul 19 '05 #2
I too am far from being an expert, however, I'd agree. if that little
snippet alone generates an error, it sounds like your version of perl has a
problem with your version of DBI, and so while you're upgrading DBI, I'd
recommend upgrading your perl installation as well. Also(remember that I'm
just guessing) it looks like something is stating that your DBI version is
different than perl thinks it should be, which would further indicate that
maybe an upgrade is needed

"Colin McSwiggen" <cs****@myway.com> wrote in message
news:fb**************************@posting.google.c om...
I'm far from being an expert when it comes to the DBI, but if you're getting a version mismatch it's probably a good idea for you to update your copy of DBI.pm and the related files.
gr*********@axis.hu (Laszlo) wrote in message

news:<20**************************@posting.google. com>...
Hi everybody

I am a beginner in Perl DBI.
The following dummy code

"
#!c:\perl\bin\perl.exe
#
use DBI;
"

returns this error message:

"
DBI object version 1.34 does not match $DBI::VERSION 1.35 at
C:/Perl/lib/DynaLoader.pm line 249.
BEGIN failed--compilation aborted at C:/Perl/lib/DBI.pm line 255.
Compilation failed in require at dbi01.pl line 1.
BEGIN failed--compilation aborted at dbi01.pl line 1.
"

What is wrong ?

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
2
by: Gregory | last post by:
Hi, One of the disadvantages of using error handling with error codes instead of exception handling is that error codes retuned from a function can be forgotten to check thus leading to...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Manuel | last post by:
I'm trying to compile glut 3.7.6 (dowbloaded from official site)using devc++. So I've imported the glut32.dsp into devc++, included manually some headers, and start to compile. It return a very...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
5
by: yashu0209 | last post by:
I have an error occurring when i try to compile the program and the error is: D:\Program Files\visual studio 6.0\MSDev98\MyProjects\GLEnabledView\GLNew.cpp(164) : error C2653: 'CGLEnabledView' :...
2
by: randa zaghdan | last post by:
Hi I have a problem with my program in vc 2008 When I compile it, the following errors are listed. I try to resolve it but no hope Does any one can help me ? thanks . Linking......
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.