SPUG: problem building DBD::mysql

Mike Schuh schuh at farmdale.com
Sun Jun 15 23:04:47 PDT 2008

Hi all,

perl Makefile.PL and make are error free, but then make test gives:

----------------------------- cut here ---------------------------------
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#   Failed test 'use DBD::mysql;'
#   at t/00base.t line 21.
#     Tried to use 'DBD::mysql'.
#     Error:  Can't load
for module DBD::mysql:
undefined symbol: SSL_CTX_free at
/usr/local/lib/perl5/5.10.0/i686-linux-thread-multi/DynaLoader.pm line 203.
#  at (eval 5) line 2
# Compilation failed in require at (eval 5) line 2.
# BEGIN failed--compilation aborted at (eval 5) line 2.
Bailout called.  Further testing stopped:  Unable to load DBD::mysql
make: *** [test_dynamic] Error 1
----------------------------- cut here ---------------------------------

Asking the CPAN module to install DynaLoader (easiest way I know to get
it's version) yields:

DynaLoader is up to date (1.08).


DBI is up to date (1.604).
DBIx::Class is up to date (0.08010).

Why/how would a core Perl module (DynaLoader) have an undefined symbol?

Hints and suggestions welcomed.

Mike Schuh - Seattle, Washington USA

More information about the spug-list mailing list