I started searching some email archives and came up with a few posting the same errors I was experiencing but no solutions. So I started hacking away by following all past tips on compiling DBD::mysql for OSX 10.2 and perl 5.8.0 with no success. I then remembered installing Bundle::Msql at one point on a different system and decided to try that ... success!
Read on for more on the situation, and official word from Apple on a solution...
Bundle::Msql installs the DBD::mysql package but seems to do it differently than DBD::mysql itself. I sent my success scenario to the macosx@perl.org list (list archive) and received an interesting reply that may very well apply to more than just DBD::mysql:
On 10/15/03 5:58 PM, "Edward Moy" wrote:I have now tested this under perl installed by Panther and it seems to solve the problem ... one thing to note is that I read elsewhere that fink updates @INC and that some packages installed by fink may cause conflicts; specifically noted was Storable.
We recently discovered the DBD::mysql problem as well. The patch is to edit /System -> Library -> Perl -> 5.8.1 -> darwin-thread-multi-2level -> Config.pm, replacing:ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc'withld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'Unfortunately, this change is too late to get into Panther.
---------------------------------------------------------------
Edward Moy
Apple
This hint is nowhere near a nicely detailed outline of how to make things work, but the emails posted to the macosx@perl.org list should shed some light...

