I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-11-21 00:17:19-08 by gmburton
Trouble installing DBD::mysql on Mac OS X 10.6
Trying to get my website scripts up and running on my new mac. From my searching, I've seen that the 64-bit version of mysql is a problem with the perl modules, and I have confirmed that I definitely have the 32 bit version. I'm really at a loss here, any help would be greatly appreciated. Here is a copy of the make test install log. 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. # Tried to use 'DBD::mysql'. # Error: Can't load '/Users/burton/Downloads/DBD-mysql-4.013/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/burton/Downloads/DBD-mysql-4.013/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found: _is_prefix # Referenced from: /Users/burton/Downloads/DBD-mysql-4.013/blib/arch/auto/DBD/mysql/mysql.bundle # Expected in: flat namespace # in /Users/burton/Downloads/DBD-mysql-4.013/blib/arch/auto/DBD/mysql/mysql.bundle at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 207. # at (eval 6) line 2 # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at t/00base.t line 21. t/00base....................NOK 2/6FAILED--Further testing stopped: Unable to load DBD::mysql make: *** [test_dynamic] Error 9 If I make install anyway and try to run a script, the following appears in my apache error log: [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] dyld: lazy symbol binding failed: Symbol not found: _mysql_init [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] Expected in: flat namespace [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] dyld: Symbol not found: _mysql_init [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle [Fri Nov 20 19:46:09 2009] [error] [client 127.0.0.1] Expected in: flat namespace
Direct Responses: 11792 | Write a response