Subject: | DBD::mysql 4.018 not working with latest mysql/perl |
Originally reported by Murray Callander at
http://bugs.mysql.com/bug.php?id=58981
Description:
DBD-mysql 4.018 still not working.
static option not available on OSX 10.6.5 running Perl 5.10 64bit (see
below)
~user$ perl Makefile.PL -static -config
Unknown option: static
Unknown option: config
Usage: perl Makefile.PL [options]
$perl -v
This is perl, v5.10.0 built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)
How to repeat:
Install latest mysql and try and make or make test:
ISLID-MB-03:DBD-mysql-4.018 murraycallander$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base....................ok 1/6
# Failed test 'use DBD::mysql;'
# at t/00base.t line 21.
t/00base....................NOK 2/6# Tried to use 'DBD::mysql'.
# Error: Can't load
'/Users/murraycallander/Downloads/DBD-mysql-4.018/blib/arch/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/murraycallander/Downloads/DBD-mysql-4.018/blib/arch/auto/DBD/mysql/mysql.bundle,
2): Library not loaded: libmysqlclient.16.dylib
# Referenced from:
/Users/murraycallander/Downloads/DBD-mysql-4.018/blib/arch/auto/DBD/mysql/mysql.bundle
# Reason: image not found at
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm
line 207.
# 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
make: *** [test_dynamic] Error 9
See original bug report for additional details