~$ sudo cpan DBD::mysql Password: CPAN: Storable loaded ok (v2.34 Reading '/Users/7stud/.cpan/Metadata' Database was generated on Sat, 05 Jan 2013 19:06:47 GMT CPAN: YAML loaded ok (v0.84) Reading 34 yaml files from /Users/7stud/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9725) ..................DONE Restored the state of none (in 0.5013 secs) Running install for module 'DBD::mysql' Running make for C/CA/CAPTTOFU/DBD-mysql-4.022.tar.gz Has already been unwrapped into directory /Users/7stud/.cpan/build/DBD-mysql-4.022-LOppYe CPAN: Parse::CPAN::Meta loaded ok (v1.4402) CPAN: CPAN::Meta loaded ok (v2.120630) CPAN: Module::CoreList loaded ok (v2.79) Has already been made Running make test PERL_DL_NONLAZY=1 /Users/7stud/perl5/perlbrew/perls/perl-5.16.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.t .................. 1/6 # Failed test 'use DBD::mysql;' # at t/00base.t line 21. # Tried to use 'DBD::mysql'. # Error: Can't load '/Users/7stud/.cpan/build/DBD-mysql-4.022-LOppYe/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/7stud/.cpan/build/DBD-mysql-4.022-LOppYe/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Library not loaded: libmysqlclient.18.dylib # Referenced from: /Users/7stud/.cpan/build/DBD-mysql-4.022-LOppYe/blib/arch/auto/DBD/mysql/mysql.bundle # Reason: image not found at /Users/7stud/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level/DynaLoader.pm line 194. # at (eval 7) line 2. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. Bailout called. Further testing stopped: Unable to load DBD::mysql FAILED--Further testing stopped: Unable to load DBD::mysql make: *** [test_dynamic] Error 255 CAPTTOFU/DBD-mysql-4.022.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CAPTTOFU/DBD-mysql-4.022.tar.gz Running make install make test had returned bad status, won't install without force ~$