install_driver(DB2) failed: Can't load '/tmp/DBD-DB2-0.74/blib/arch/auto/DBD/DB2/DB2.so' for module DBD::DB2: /usr/IBMdb2/

From: Carlos Calderon (calderoc_at_us.ibm.com)
Date: 02/06/04


To: dbi-users@perl.org
Date: Fri, 6 Feb 2004 13:24:00 -0500

Was able to run perl Makefile.pl and make for the DBD driver but failing
when running make test with following:

# make test
make[1]: Entering directory `/tmp/DBD-DB2-0.74/Constants'
make[1]: Leaving directory `/tmp/DBD-DB2-0.74/Constants'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base....install_driver(DB2) failed: Can't load
'/tmp/DBD-DB2-0.74/blib/arch/auto/DBD/DB2/DB2.so' for module DBD::DB2:
/usr/IBMdb2/
V7.1/lib/libdb2.so.1: symbol _res, version GLIBC_2.0 not defined in file
libc.so.6 with link time reference at /usr/lib/perl5/5.8.0/
i386-linux-thread-multi/DynaLoader.pm line 229.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/base.t line 16
t/base....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
t/main....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/base.t 255 65280 5 2 40.00% 4-5
Failed 1/2 test scripts, 50.00% okay. 2/6 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 29

Any other ideas?

Carlos Calderon
IBM Pervasive Computing
(919) 543-9153



Relevant Pages

  • Re: Need ideas on how to make this code faster than a speeding turtle
    ... >> why are you calling out to a program when perl can load web pages just ... >> you have the text in $temp. ... you know how to use backticks but why do you ...
    (comp.lang.perl.misc)
  • DBI make test fails - trying to load old Storable
    ... Installing DBI-1.51 - 'make test' returns results that seem strange. ... tests that 'use Storable' attempt to load an old version installed under ... A newer version of Storable is installed under Perl 5.8. ... support iThreads ...
    (perl.dbi.users)
  • Re: hunting down erroneous source line (4os2)
    ... That's probably because the load is not failing. ... you can see it's pretty hard to avoid the warning. ... But explains why beginlibpath did not work here ...
    (comp.os.os2.programmer.misc)
  • Re: How long is too long for cgi script?
    ... > What is the ballpark limit for the size of a script before the perl ... > interpreter takes more than a few seconds to load it? ... > script that is not CPU or memory intensive but is around a few thousand ...
    (comp.lang.perl.misc)
  • Re: Faster way to get PHP script than LWP::Simple
    ... If I want to include this header in a Perl script, ... I'm quite sure that he doesn't just load LWP::Simple without using it. ...
    (comp.lang.perl.misc)

Loading