Web Hosting Talk







View Full Version : Need a perl expert on a problem


GWDGuy
07-12-2002, 10:45 PM
Hi we have a customer that is trying to use a perl script that they wrote. We don't seem to have any other troubles but on this one so we don't know if it is a script problem or what.. We have upgrades to perl 5.6.1 and as far as we can see all perl mods are installed..

I am hoping an expert here can figure this out for a few $$ or so and get this customer off and running.

Thanks

BTW here is the error message maybe it will point you in the right direction to know where to look. Yes I know you will need to see the script but email us if you are good at perl, really good..

Here's the error message from the error log:

install_driver(mysql) failed: DBD::mysql object version 2.0902 does not match bootstrap parameter 2.1017 at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 225.
Compilation failed in require at (eval 1) line 3.

at dbtest.cgi line 8

cowboybebop
07-13-2002, 12:21 AM
What version of MySQL are you using?

QWEST
07-13-2002, 01:30 AM
That is most likely a scripting error. Or it could, be configuration, depending how you looked at it :). I would have to get inside, in order to give you a "more" detailed diagnostic.

Perhaps, look at the logs also, look for anything saying pre-, pre-, pre-. Or just post the logs here, and ill see what I can do..

But, from the looks of it the scripting error, is in the parameters..

Chas
07-13-2002, 02:00 AM
It doesn't look like a problem with the script. It looks like @INC is pulling in an older veriosn of your DBD module first. Check to make sure that you don't have duplicates of DBD in other dirs. You might even want to remove them all and reinstall.

Regards,
Charlie

GWDGuy
07-13-2002, 09:58 AM
Hi were are running MySQL 3.23.46 , we uninstalled all the perl mods and reinstalled (well our Administrator did) and we just upgraded to perl 5.6.1 from 5.6.0
Before the upgrade all we got on this one was internal server errors now just a blank screen.

The above (first post) is the only thing coming up in the log when the script is executed.

Robert

Revelation
07-13-2002, 11:15 AM
DBD::mysql object version 2.0902 does not match bootstrap parameter 2.1017

have you tried perl -MCPAN -e shell
install DBD::mysql.

If that doesn't work, I'd be willing to fix it, but would probably have to look at the script (would you be willing to post it.)

CritticAge
07-17-2002, 02:23 AM
Hello,

I have gotten that with 2 servers now, they need to install DBD::mysql as revelation said up.

Hope it all works out for you.