3 messages in com.mysql.lists.perlmake test error installing DBD::mysql
FromSent OnAttachments
Hugo L. Casanova10 May 2001 13:32 
Chuck O'Donnell10 May 2001 13:56 
Hugo L. Casanova15 May 2001 11:05 
Subject:make test error installing DBD::mysql
From:Hugo L. Casanova (hl@clikstudio.com)
Date:05/10/2001 01:32:11 PM
List:com.mysql.lists.perl

Hi,

I'm having lots of problems installing DBD::mysql on this system. Technical info: OS: FreeBSD 4.2, i686 MySQL: 10.12, dist. 3.23.26-beta (binary installed) Perl: 5.005_3 (installed by FreeBSD) DBI: 1.15 (installed through cpan)

First DBD/mysql.pm was installed on the system. But Perl crashed when connecting to the database ($dbh = DBI->connect("DBI:mysql:$database",$user,$pass);). So I re-installed everything. MySQL went OK; DBI, no problem. When I first tryed to install DBD::mysql through CPAN, it didn't work at all. So I tryed to install it manually but the 'make' step didn't work.

I checked it out and I finaly tryed to use this command with Makefile.PL:

perl Makefile.PL -cflags -I/usr/local/include/mysql -libs -L/usr/local/lib/mysql

This helped the 'make' to work, but the 'make test' still fails.

The first error I get is: 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_store_result" at /usr/libdata/perl/5.00503/Dynaloader.pm line 169. at (eval 1) line 3 Perhaps a required shared library or dll isn't installed where expected at t/00base.t line 38 dubious Test returned status 255 (wstat 65280, 0xFF00) DIED. FAILED test 4-5 Failed 2/5 tests, 60.00% okay

Then the rest just flows with errors. I finaly get a result like 97% failed.

I am out of resources, I searched through mailing lists and manuals but I couldn't find a similar enough error to inspire myself from it.

Thanks for your help and time.