SPUG: problem building DBD::mysql

Mark Foster mark at foster.cc
Mon Jun 16 07:22:03 PDT 2008


Mike Schuh wrote:
> 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
> 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
> '/root/.cpan/build/DBD-mysql-4.007-hOjir2/blib/arch/auto/DBD/mysql/mysql.so'
> for module DBD::mysql:
> /root/.cpan/build/DBD-mysql-4.007-hOjir2/blib/arch/auto/DBD/mysql/mysql.so:
> undefined symbol: SSL_CTX_free at
> /usr/local/lib/perl5/5.10.0/i686-linux-thread-multi/DynaLoader.pm line 203.
>   
Assuming you already have the underlying mysql bits, it appears to be 
some problem with your ssl library. You can find out more using ldd, but 
against mysql or perl I cannot say for sure.
You could also try installing (if not already) IO::Socket::SSL or even 
the older Net::SSLeay.
Also what platform are you running on?

-- 
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark at foster.cc>  http://mark.foster.cc/




More information about the spug-list mailing list