MySQL Forums
Forum List  »  Perl

DBD::mysql make test fails
Posted by: james yeager
Date: October 12, 2009 12:40PM

Hello all -

I've been struggling trying to get DBD::mysql installed on a Solaris 10 server. DBI installed just fine. However, I've had to make changes to 32bit mode for DBD: to compile ("make"). I'm using perl v5.8.4 with DBI v.1.609. DBD-mysql is v4.013. The following compiled ok:

perlgcc Makefile.PL --testuser=bert
make

Here's results of "make test":


olyi:/app/archives/DBD-mysql-4.013 $ make test
PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base....................NOK 2
# Failed test 'use DBD::mysql;'
# at t/00base.t line 21.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/app/archives/DBD-mysql-4.013/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.12: open failed: No such file or directory at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
FAILED--Further testing stopped: Unable to load DBD::mysql
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'



Any help is greatly appreciated.
thanks

jim

Options: ReplyQuote


Subject
Written By
Posted
DBD::mysql make test fails
October 12, 2009 12:40PM
October 31, 2009 08:43AM
November 17, 2009 01:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.