[Catalyst] install_driver(mysql) failed:
learn.catalyst at gmail.com
Sun Apr 1 20:24:27 GMT 2012
Thank you thank you thank you so much. That guided me in the correct
You got me to search for libmysqlclient.18.dylib which led me to
which helped me to understand that I need to get the system to see the
file. It was there on my system in
and also in
which diff said were identical.
Based on the web article, or better the first comment, I figured that I
needed either directory in the path or as the guy recommends, set a
symbolic link. I went with the symbolic link option to make it visible in
which the comment at the link above says is "the standard MAC OS X
ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib
The problem may have been caused by the mysql installation from root and
the perl installation being local? I am not sure or not that interested. I
am just giving thanks and my solution to the list and Daniel for getting me
on the correct path. Seems pretty specific but here it is in case anyone
else needs the info.
On Sun, Apr 1, 2012 at 2:48 PM, Daniel J. Luke <dluke at geeklair.net> wrote:
> On Apr 1, 2012, at 2:30 PM, Robyn Jonahs wrote:
> > DBIx::Class::Schema::Loader::make_schema_at(): DBI Connection failed:
> install_driver(mysql) failed: Can't load
> for module DBD::mysql:
> 1): Library not loaded: libmysqlclient.18.dylib
> > Referenced from:
> > Reason: image not found at
> line 194.
> > at (eval 429) line 3
> This error is saying that darwin's dyld can't find the mysql library
> (libmysqlclient.18.dylib) when trying to load DBD::mysql.
> You can see what libraries the mysql.bundle is linked against by running:
> otool -L
> I don't know how you have the mysql libraries installed, but knowing where
> libmysqlclient.18.dylib is located could help you figure out what is going
> You might be able to fix things just by rebuilding DBD::mysql ...
> Daniel J. Luke
> | *---------------- dluke at geeklair.net ----------------* |
> | *-------------- http://www.geeklair.net -------------* |
> | Opinions expressed are mine and do not necessarily |
> | reflect the opinions of my employer. |
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst