Re: Error on installing DBD::DB2 module



On 5/24/07, Anand Seshan <anand.seshan@xxxxxxxxx> wrote:
Hi,

I am trying to install the DBD::DB2 module on my Linux machine. I have
installed Perl 5.8.5, IBM DB2 v8.1 , DBI v1.56 .
But when i tried to test before install the perl module DBD::DB2 , i got the
below error. I would like to know how to resolve this issue.

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 '/software/perl/dbd/DBD-
DB2-1.0/blib/arch/auto/DBD/DB2/DB2.so' for module DBD::DB2: libdb2.so.1:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) 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 4 80.00% 4-5
Failed 1/2 test scripts, 50.00% okay. 2/6 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 255


Please help me in resolving this issue.

Ensure whatever directory libdb2.so.1 resides in is also in your
LD_LIBRARY_PATH.

--
Kevin.
.



Relevant Pages

  • Re: Leafnode...WTF is this?
    ... Setting up leafnode... ... I guess I try to download and install the program from the source ... open shared object file: ...
    (news.software.readers)
  • Re: Leafnode...WTF is this?
    ... Setting up leafnode... ... I guess I try to download and install the program from the source ... open shared object file: ...
    (news.software.readers)
  • Re: lib64
    ... shared libraries: libxml2.so.2: cannot open shared object file: No such ... OK, I did not install with yum, this is my mistake. ...
    (Fedora)
  • RE: SBS 2k3 SP1 : Cannot install Sharepoint Services
    ... I know that you cannot WSS on SBS 2003 SP1 server. ... After finish the installation, ... <Contacts public folder. ... <I found a lot of solutions but the resolve doesn't work on my server. ...
    (microsoft.public.windows.server.sbs)
  • RE: Update Failures KB834707, KB885884
    ... Please try following the steps listed below to resolve the issue you are ... the Windows Update site is unable to modify ... > George, after you have run both the commands, ... > Update site and see if you can install the updates. ...
    (microsoft.public.windowsxp.general)