Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Error with DynaLoader.pm and DBD::mysql

by spider79 (Initiate)
on Dec 07, 2011 at 21:09 UTC ( #942327=perlquestion: print w/ replies, xml ) Need Help??
spider79 has asked for the wisdom of the Perl Monks concerning the following question:

I am having a problem with DynaLoader.pm and DBD:mysql

It produces the following error when I try to run my perl code

DynaLoader::bootstrap for DBD::mysql (auto/DBD/mysql/mysql.so) [Wed, 07-Dec-11 12:40:17] install_driver(mysql) failed: DBD::mysql obj +ect version 4.020 does not match bootstrap parameter 3.0007 at /usr/l +ib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 253, <G +EN1> line 1. Compilation failed in require at (eval 17) line 3, <GEN1> line 1.

It looks like an installation error - but what did I do wrong?

Comment on Error with DynaLoader.pm and DBD::mysql
Download Code
Re: Error with DynaLoader.pm and DBD::mysql
by afoken (Prior) on Dec 07, 2011 at 21:27 UTC

    Looks like you copied files around instead of doing a proper install. Undo the copy and install DBD::mysql as documented.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: Error with DynaLoader.pm and DBD::mysql
by spider79 (Initiate) on Dec 08, 2011 at 18:07 UTC

    I uninstalled the DBD::mysql modules with pm-uninstall and reinstalled it with cpan, but I see the same problem as before.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2015-07-06 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls