I really confussed about this. I don't know whether my mysql is 32bit or
64bit, so I just fresh installed mysql 5.5.27 for osx 10.6 64bit. And I did
reinstalled DBI and DBD::mysql

make give me a lot of warnings like "warning: format not a string literal
and no format arguments"
but make test did went through.

I can then populate database tables using a perl script ($ perl
install.plfrom mwforum package)
But when I use browser for the system testing (perl_test.cgi and forum.pl),
both report me that DBD:mysql is not installed (or not available)

Again, this is on snow leopard 10.6.8. I didn't do anything related perl
before. And mysql+php worked quite well here.



On Tue, Aug 7, 2012 at 2:24 PM, Perrin Harkins <per...@elem.com> wrote:

> Hi,
>
> This probably means you changed your MySQL libraries but didn't
> recompile or reinstall DBD::mysql,  Usually this kind of issue is
> solved by reinstalling DBD::mysql in the same way that you previously
> installed it, so it can build against your current libraries.
>
> - Perrin
>
> On Mon, Aug 6, 2012 at 5:42 PM, Elim Qiu <elim....@gmail.com> wrote:
> > To populate table for a perl forum, I got the following error:
> >
> > aMac:mwf elim$ perl install.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
> >
> > My OS is Mac OS X 10.6.8 64 bit, Apple built-in perl is 5.10.0 (64bit)
> and
> > MySQL is newly upgraded to 5.5.27 MySQL Community Server (GPL) (64bit)
> >
> > I don't know how to make DBD:mysql work. Any idea is appreciated....
> Maybe
> > I have to get mysql source and compile/install it with custom options?
>

Reply via email to