Hi,

This caused me a little grief, so I thought that I would post it.
I wanted to be able to use the perl module DBD::mysql, to access a mysql database.


I installed 'MYSQL 3.23.56' and 'perl 5.004'.
I installed the DBI module.
I compiled the DBD:mysql module.

When I ran 'make test', I got the following type of error:

"PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib -I/A/perl/lib/a
lpha-dec_osf/5.00401 -I/A/perl/lib -e 'use Test::Harness qw(&runtests $verbose);
$verbose=0; runtests @ARGV;' t/*.t
t/00base............install_driver(mysql) failed: Can't load '.././blib/arch/aut
o/DBD/mysql/mysql.so' for module DBD::mysql: dlopen: cannot load .././blib/arch/
auto/DBD/mysql/mysql.so at /A/perl/lib/alpha-dec_osf/5.00401/DynaLoader.pm line
155.

at (eval 1) line 2
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
dubious
Test returned status 2 (wstat 512)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay ....."




I browsed some mailing lists and read somewhere that I should try to copile this module with the options --static and --config, so I did.

.perl Makefile.PL --config --static
make
make test       (This time it worked)
make install

Can someone tell me what effect these two options (--config, --static) have on the installation?
Thanks.


James Nallen,
NUI Maynooth,
Ireland.


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to