punkish has asked for the wisdom of the Perl Monks concerning the following question:
perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config make
But when I do make test, I get the following error --
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.t .................. 1/6 # Failed test 'use DBD::mysql;' # at t/00base.t line 21. # Tried to use 'DBD::mysql'. # Error: Can't load '/Users/punkish/Projects/DBD-mysql-4.019/blib +/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Use +rs/punkish/Projects/DBD-mysql-4.019/blib/arch/auto/DBD/mysql/mysql.bu +ndle, 2): Library not loaded: libmysqlclient.16.dylib # Referenced from: /Users/punkish/Projects/DBD-mysql-4.019/blib/arch +/auto/DBD/mysql/mysql.bundle # Reason: image not found at /usr/local/lib/perl5/5.12.1/darwin-2lev +el/DynaLoader.pm line 204. # at (eval 7) line 2 # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. Bailout called. Further testing stopped: Unable to load DBD::mysql FAILED--Further testing stopped: Unable to load DBD::mysql make: *** [test_dynamic] Error 255
Suggestions?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: trouble installing DBD::mysql on Mac OS X 10.6.6 x64 with Perl 5.12.1
by Anonymous Monk on May 20, 2011 at 03:05 UTC | |
by punkish (Priest) on May 20, 2011 at 15:10 UTC | |
Re: trouble installing DBD::mysql on Mac OS X 10.6.6 x64 with Perl 5.12.1
by Anonymous Monk on May 03, 2013 at 14:18 UTC |