tomax2001 has asked for the wisdom of the Perl Monks concerning the following question:

I hope this question isn't off topic, I apologize if it is. I've already searched for several hours and so far have come up empty handed.

I'm trying to get the DBI::Mysql module to compile on darwin (Mac OS X 10.2). The perl dbi compiles just fine, I'm using version 1.30. I've tried several versions of dbi::mysql, all give me the same error as the latest (Msql-Mysql-modules-1.2219) when I try perl Makefile.pl:

root# perl Makefile.pl dyld: perl Undefined symbols: _mysql_create_db _mysql_drop_db Trace/BPT trap root#

I tried explicitly giving the path to the mysql include files and library files. I'm currently using the stock apple build of Perl 5.6.0. I'm not sure what to try next.

Replies are listed 'Best First'.
Re: DBI::Mysql and Darwin (Mac OS X 10.2)
by Steve_p (Priest) on Oct 09, 2002 at 11:41 UTC
    It looks like you have a bad verion partially installed and its causing you problems. If you have a /Libary/Perl/darwin/auto/DBD/mysql directory, remove the .bundle file out there and try again.
      Thank you, you were 100% correct. I removed the bundle file and it works perfectly now. I can't express how much happier I am now.... thanks again.