Posted on 2009-09-07 15:28:51-07 by finhagen
Apple MAC OS 10.6 Breaks DBD:mysql
I recently upgraded my MAC to the new Snow Leopard 10.6 OS. Among other things it broke DBD:mysql. Now I get the following error:

finhagens-macbook-pro:perl finhagen$ ./tme_ext_full.pl dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle Expected in: flat namespace

dyld: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle Expected in: flat namespace

Trace/BPT trap

I have reinstalled mysql, perl and the related DBI & DBD modules but this error is persistent through all that activity. Any recommendations would be much appreciated.

Hagen Finley

Boulder, CO

Direct Responses: 11486 | Write a response
Posted on 2009-09-21 17:38:22-07 by kf6spf in response to 11402
Re: Apple MAC OS 10.6 Breaks DBD:mysql

Ran into a similar problem. In researching this I found a posting on the Apple Developer site that indicated the latest Xcode (3.2) was needed for cpan to compile stuff and put it in the right place for Perl 5.10.0.

You may also be running into problems with 32-bit vs 64-bit kernal. Reboot your system and hole down the 3 and 2 keys to put kernal in 32 bit mode.

Xcode 3.2 DL link:
https://developer.apple.com/mac/scripts/downloader.php?path=/Developer_Tools/xcode_3.2/xcode3210a432.dmg
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.