|
I have been having problems loading DBD::Mysql v. 4.006 (and v. 3.0008) on Mac 10.5.2 Leopard with DBI 1.52. My perl 5.8.8 is 64-bit. Mysql v. 5.0.51a is a preprocessed binary for Mac x86_64. I have looked at the enormous number of Google finds for DBD::Mysql problems but my directories for mysql/lib and mysql/include are correct. The ccflags have -arch x84-64. My C libraries are also compatible with x86_64. One site (http://www.entropy.ch/blog/Developer/2008/03/25/Installing-Perl-DBD-mysql-on-Mac-OS-X-10-5.html) said that this perl module does not work for 64-bit memory. Is this true? Is this a bug that can be fixed?
Here's my "make test" log error:
install_driver(mysql) failed: Can't load '/phd/basics/perl_modules/DBD-mysql-4.006/blib/arch/auto/D
+BD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/phd/basics/perl_modules/DBD-mysql-4.006/blib
+/arch/auto/DBD/mysql/mysql.bundle, 2): no suitable image found. Did find:
/phd/basics/perl_modules/DBD-mysql-4.006/blib/arch/auto/DBD/mysql/mysql.bundle: mach-o, but wrong a
+rchitecture at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
Thanks
Debra Baker
University of Maryland
|