SPUG: Installing DBD::mysql

Phillip Neal phillipneal at hotmail.com
Mon Jan 31 13:19:51 CST 2000


Peter,

It looks like it can't find mysql.so.

Here are some things you might check, not in any particular order.
Some will have absolutely no relevance, but it's what I do when
I run across an install problem like this.

1. Is there a ../blib/arch/auto/DBD/mysql/mysql.so reachable
   from where you started up the test script?

2. Did you untar everything as root and are you running as root?

3. Are you in the correct directory when you start up the
   test script ?

5. If mysql.so exists, does it have the correct permissions ?

6. Are you running compatible versions of Perl and DBD::mysql ?

7. Do you have the DBI modules installed ?

8. If you installed mysql from an RPM you might have to install
   other RPMS. That is, if my memory serves me correctly,
   there is a client rpm and a development rpm that have to be
   installed to actually do any good work.

9. If you installed from a mysql tar file then the best bet might be
   to uninstall the DBD stuff and then
   restart again all the way from the tar file.

10. Do Alpha libraries have the ".so" extension ?


I grabbed all my mysql and mysql/dbd stuff off
a Walnut Creek CDROM called "LINUX Web Tools" and I
definitely had to install not only the server but also
the "mysql-client.." and the "mysql-devel..." stuff.

Phil

>From: "Peter Darley" <pdarley at serviceintelligence.com>
>Reply-To: <pdarley at serviceintelligence.com>
>To: <spug-list at pm.org>
>Subject: SPUG: Installing DBD::mysql
>Date: Mon, 31 Jan 2000 08:55:33 -0800
>
>Friends,
>	I'm trying to set up a machine that was lent to me, an Alpha upon which
>I've installed Linux.  I'm new to Linux and to the Alpha, and I'm having
>some significant trouble installing DBD::mysql.  I'm getting the some error
>message which are mostly Greek to me.  I can't find any evidence that
>DBD::mysql is not thread safe or that it isn't 64 bit compliant, which seem
>like the most likely problems.  Anyone been in a similar situation or have
>any suggestions?  The errors I get are as follow:
>
>
>
>t/00base............install_driver(mysql) failed: Can't load
>'../blib/arch/auto/DBD/mysql
>/mysql.so' for module DBD::mysql: ../blib/arch/auto/DBD/mysql/mysql.so:
>undefined symbol:
>  mysql_init at /usr/lib/perl5/5.00503/alpha-linux/DynaLoader.pm line 169.
>
>  at (eval 1) line 3
>
>  at t/00base.t line 38
>dubious
>         Test returned status 255 (wstat 65280, 0xff00)
>Undefined subroutine &Test::Harness::WCOREDUMP called at
>/usr/lib/perl5/5.00503/Test/Harn
>ess.pm line 288.
>make[1]: *** [test_dynamic] Error 255
>make[1]: Leaving directory
>`/root/.cpan/build/Msql-Mysql-modules-1.2210/mysql'
>make: *** [test] Error 2
>   /usr/bin/make test -- NOT OK
>
>
>
>Thanks!
>Peter Darley
>
>
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>     POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
>  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
>  SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
>         Email to majordomo at pm.org: ACTION spug-list your_address
>
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list