develooper Front page | perl.macosx | Postings from June 2011

Re: Clean Install

Thread Previous | Thread Next
From:
John Delacour
Date:
June 18, 2011 04:20
Subject:
Re: Clean Install
Message ID:
p06240817ca2236f40e01@[192.168.1.66]
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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About