Error on installing DBD::DB2 module

Error on installing DBD::DB2 module

am 24.05.2007 12:51:10 von anand.seshan

------=_Part_158525_8765936.1180003870536
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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.

regards
Anand

------=_Part_158525_8765936.1180003870536--

Re: Error on installing DBD::DB2 module

am 30.05.2007 22:05:41 von kev.spencer

On 5/24/07, Anand Seshan 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.