At 12:51 +0200 18/06/2011, Marek Stepanek wrote:

...and with cpanp

DBI

and manually DBD::mysql

% perl Makefile.PL --testuser=mstep --testpassword=s3kr1t

......Library not loaded: libmysqlclient.18.dylib


Just create the symbolic link as I have just (not originally) suggested:

sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib

You will then get:

$ cd /usr/lib; ls -al | grep *mysql*
lrwxr-xr-x 1 root wheel 44 18 Jun 11:22 libmysqlclient.18.dylib -> /usr/local/mysql/lib/libmysqlclient.18.dylib


DBD::mysql and install using CPAN.

JD

Reply via email to