mavili has asked for the wisdom of the Perl Monks concerning the following question:
EDIT: resolved by symlinking /usr/local/mysql-xxx/lib/mysql* to /usr/lib it's possibly because DBD::mysql looks in the latter directory for MySQL librariesCan't load '/Users/mavili/perl5/perlbrew/perls/perl-5.14.2/lib/site_pe +rl/5.14.2/darwin-2level/auto/DBD/mysql/mysql.bundle' for module DBD:: +mysql: dlopen(/Users/mavili/perl5/perlbrew/perls/perl-5.14.2/lib/site +_perl/5.14.2/darwin-2level/auto/DBD/mysql/mysql.bundle, 1): Library n +ot loaded: libmysqlclient.18.dylib Referenced from: /Users/mavili/perl5/perlbrew/perls/perl-5.14.2/lib/ +site_perl/5.14.2/darwin-2level/auto/DBD/mysql/mysql.bundle Reason: image not found at /Users/mavili/perl5/perlbrew/perls/perl-5 +.14.2/lib/5.14.2/darwin-2level/DynaLoader.pm line 194. at tt.pl line 7 Compilation failed in require at tt.pl line 7. BEGIN failed--compilation aborted at tt.pl line 7.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: issues with DBD::mysql on mac
by coolmichael (Deacon) on Aug 01, 2012 at 17:23 UTC | |
by mavili (Initiate) on Aug 02, 2012 at 12:30 UTC | |
|
Re: issues with DBD::mysql on mac
by Anonymous Monk on Aug 01, 2012 at 21:51 UTC |