Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

does not match bootstrap parameter

by stello (Initiate)
on Sep 02, 2002 at 13:02 UTC ( #194570=perlquestion: print w/replies, xml ) Need Help??

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

Can someone enlighten me as to why the following code kicks the error:

DBD::mysql object version 2.0419 does not match bootstrap parameter 2.0902 at /usr/libdata/perl/5.00503/DynaLoader.pm line 188. BEGIN failed--compilation aborted at ./freetest.pl line 3.
The Code:
#!/usr/bin/perl use DBI; use DBD::mysql; print "Hello"; exit;

Replies are listed 'Best First'.
Re: does not match bootstrap parameter
by mce (Curate) on Sep 02, 2002 at 13:21 UTC
    Hi,
    I think you messed up your DBD::mysql installation.

    bootstrap is part of the DynaLoader suite, and it loads the mysql.so file only when the mysql.pm file fits the mysql.so version.

    Look in the file DBD/mysql.pm and compare it with the version in auto/DBD/mysql.so (fe. strings mysql.so | less ).

    Anyway, just reinstall the Bundle::Mysql and you'll be fine.
    ---------------------------
    Dr. Mark Ceulemans
    Senior Consultant
    IT Masters, Belgium

Re: does not match bootstrap parameter
by michellem (Friar) on Sep 02, 2002 at 14:41 UTC
    I agree that there probably is a problem in the DBD::mysql install. But a note - I always thought that "use DBI" was enough to invoke DBD::mysql. I've never had to actually specify "use DBD::anything" (I use a number of DBDs), "use DBI;" has always been enough.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://194570]
Approved by mce
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2022-12-10 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?