List:MySQL and Perl« Previous Message
From:misc999 Date:December 16 2013 5:08pm
Subject:Problem installing DBD::mysql
View as plain text  
Hello and thank you to whomever can help me.

I am trying to install DBD::mysql on a MacBook Pro running MacOSX 10.8 with perl v. 5.19.

I run the command cpanm DBD::mysql

and the install fails while testing:

#     Error:  Can't load
'/Users/admin/.cpanm/work/1387205722.28429/DBD-mysql-4.025/blib/arch/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/admin/.cpanm/work/1387205722.28429/DBD-mysql-4.025/blib/arch/auto/DBD/mysql/mysql.bundle,
2): Library not loaded: libmysqlclient.18.dylib
#   Referenced from:
/Users/admin/.cpanm/work/1387205722.28429/DBD-mysql-4.025/blib/arch/auto/DBD/mysql/mysql.bundle
#   Reason: image not found at
/Users/admin/perl5/perlbrew/perls/perl-5.19.3/lib/5.19.3/darwin-2level/DynaLoader.pm line
194.
#  at (eval 8) line 2.

Thanks again.
Attachment: [text/html]
Attachment: [text/html]
Thread
Problem installing DBD::mysqlmisc99916 Dec