MySQL Forums
Forum List  »  Perl

Re: Installing DBI and DBD-mysql on Mac OS X
Posted by: Leroy Banack
Date: March 16, 2011 12:39PM


Amazing! I was able to get the DBI package to make, test and install cleanly!

YES! Half way there.

I am also able to get DBD::mysql to compile successfully; however it is failing.

It now gives this error when trying to use:

Can't load '/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle, 1): Library not loaded: libmysqlclient.16.dylib
Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
Reason: image not found at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/ line 207.

libmysqlclient.16.dylib is in /usr/local/mysql/lib
so I am very confused.

So close!! But yet so far.

Options: ReplyQuote

Written By
Re: Installing DBI and DBD-mysql on Mac OS X
March 16, 2011 12:39PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.