develooper Front page | perl.dbi.users | Postings from December 2011

Re: problem getting DBD::mysql working in OS X 10.7

Thread Previous | Thread Next
From:
Bruce Johnson
Date:
December 29, 2011 14:40
Subject:
Re: problem getting DBD::mysql working in OS X 10.7
Message ID:
453BF1D3-A9FB-4BDC-9469-27842696BC7D@pharmacy.arizona.edu

On Dec 29, 2011, at 3:36 PM, Bruce Johnson wrote:

> I tried installing Bundle::DBD::mysql via cpan, but got errors about how it couldn't find mysql_config, so I downloaded the DBD::mysql package manually and used perl Makefile.pl --mysql_config=/usr/local/mysql/bin/mysql_config which is where my mysql_config file lives (it's a standard install for 10.7 from oracle)
> 
> That installed correctly, but scripts run by apache on the system fail with the error:
> 
> [Thu Dec 29 15:25:25 2011] [error] [client 192.168.1.114] install_driver(mysql) failed: Can't load '/Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle, 1): Library not loaded: libmysqlclient.18.dylib


locally run perl scripts also fail with the same error.

-- 
Bruce Johnson

"Wherever you go, there you are" B. Banzai,  PhD


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