Skip to content

@jhannah /gist:3763659
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
DBD::mysql on OSX
jhannah@Jay-Hannahs-iMac:~/src/DBD-mysql-4.022$ perl -MDBD::mysql -e 1
Can't load '/Users/jhannah/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/jhannah/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/auto/DBD/mysql/mysql.bundle, 1): Library not loaded: libmysqlclient.18.dylib
Referenced from: /Users/jhannah/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/auto/DBD/mysql/mysql.bundle
Reason: image not found at /Users/jhannah/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level/DynaLoader.pm line 194.
at -e line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
@jhannah
Owner

Huh. Fixed.
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib

@jhannah
Owner

Ha. So now this is back

$ ps -ef | grep perl
dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid
501  9473  1158   0  5:17PM ttys003    0:00.00 grep perl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.