MySQL Forums
Forum List  »  Perl

DBD::Mysql for 64-bit memory
Posted by: Debra Baker
Date: April 24, 2008 09:30AM

Hi, all:

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. 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. 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/DBD/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 architecture 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

Options: ReplyQuote


Subject
Written By
Posted
DBD::Mysql for 64-bit memory
April 24, 2008 09:30AM


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.