Subject: | DBD::mysql on intel mac osx 10.4.9 |
Date: | Tue, 29 May 2007 23:04:34 -0700 |
To: | <bug-DBD-mysql [...] rt.cpan.org> |
From: | stella podgornik <stella [...] stellamarie.net> |
I keep running into this error and I've installed DBD::mysql.
Show quoted text
>>>> yet i have this:
>>>>
>>>> cpan[2]> install Bundle::DBD::mysql
>>>> CPAN: Storable loaded ok (v2.16)
>>>> Going to read /Users/stella/.cpan/Metadata
>>>> Database was generated on Mon, 28 May 2007 22:53:55 GMT
>>>> DBI is up to date (1.56).
>>>> DBD::mysql is up to date (4.004).
install_driver(mysql) failed: Can't load
'/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBD/mysql/mysql.b
undle, 2): Library not loaded:
/usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from:
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
Reason: image not found at
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line
230, <STDIN> line 3.
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3, <STDIN> line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/select.t line 31
Distribution name: DBD::mysql 4.004
Perl Version: 5.8.6
OS: MAC OS X 10.4.9
MySql: 5.0.4.1
stellas-computer:~/Sites/cgi stella$ uname -a
Darwin stellas-computer.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22
20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386