On Fri, Jun 17, 2011 at 5:34 PM, Marek Stepanek
<marekstepa...@yahoo.co.uk> wrote:
>
> install_driver(mysql) failed: Can't load
> '/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level/auto/DBD/mysql/mysql.bundle'
> for module DBD::mysql:
> dlopen(/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level/auto/DBD/mysql/mysql.bundle,
> 1): Library not loaded: libmysqlclient.18.dylib
>  Referenced from:
> /Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level/auto/DBD/mysql/mysql.bundle
>  Reason: image not found at
> /Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/darwin-2level/DynaLoader.pm
> line 194.
>  at (eval 3) line 3
> Compilation failed in require at (eval 3) line 3.
> Perhaps a required shared library or dll isn't installed where expected
>  at intro6.pl line 12
>
> There is something wrong with the DynaLoader:

Don't shoot the messenger! :-)

DynaLoader is just doing its job and reporting the problem. DBD::mysql
can't load, because it's linked against libmysqlclient.18.dylib, and
that .dylib is MIA - that's the problem.

Is MySQL installed in the same place it was when you built DBD::mysql?

sherm--

-- 
Cocoa programming in Perl:
http://camelbones.sourceforge.net

Reply via email to