in reply to Re^3: DBI Installation Mac
in thread DBI Installation Mac

For some reason, I cannot reply to your message below...there is no reply button. I was going to try Homebrew, as you suggested, but I have gone too far to turn back lol.

However, I managed to get the mysql_config file working...I followed this exactly using Mysql binary from Oracle (mysql-5.6.17-osx10.7-x86): http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql/INSTALL.pod#Mac_OS_X

Now, I get this error when I go to run my script:

dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.12/darwin-thread-multi-2level/auto/ +DBD/mysql/mysql.bundle Expected in: flat namespace dyld: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.12/darwin-thread-multi-2level/auto/ +DBD/mysql/mysql.bundle Expected in: flat namespace Trace/BPT trap: 5

Google tells me its a 32-bit 64-bit issue between perl and DBI. But, both are 64 bit (computer is intel core 2 duo 64 bit-->see http://support.apple.com/kb/ht3696 and, well, oracle says their binary is 64-bit)

Replies are listed 'Best First'.
Re^5: DBI Installation Mac
by frozenwithjoy (Priest) on Mar 31, 2014 at 21:40 UTC

    First, can you confirm for me by typing mysql in terminal to verify that whatever you installed actually installed MySQL?

    Second, you are running OS X 10.8.4, but whatever you installed is for OS X 10.7. I really think you should use Homebrew.