mohitgyl
asked on
Perl DBI Driver
Hi i am using LINUX x86 32bit RHEL 5.5 and installed DB2 V9.7 as a database. I am trying to install DBI Driver for Perl connectvity with database. I downoaded the driver from this link http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg21297335 and folllowed the steps mentioned over there.
I issued :
perl Makefile.PL (fine)
make (fine)
make test(error)
Following is the error:
make[1]: Entering directory `/home/antu/DBD-DB2-1.79/C onstants'
make[1]: Leaving directory `/home/antu/DBD-DB2-1.79/C onstants'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base....install_driver(D B2) failed: Can't load '/home/antu/DBD-DB2-1.79/b lib/arch/a uto/DBD/DB 2/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.8/i386- linux-thre ad-multi/D ynaLoader. 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 2 (wstat 512, 0x200)
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 2 512 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
I issued :
perl Makefile.PL (fine)
make (fine)
make test(error)
Following is the error:
make[1]: Entering directory `/home/antu/DBD-DB2-1.79/C
make[1]: Leaving directory `/home/antu/DBD-DB2-1.79/C
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base....install_driver(D
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 2 (wstat 512, 0x200)
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 2 512 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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I solved my problem Partially.
Thanks
Thanks
If not, proceed with:
make install
If it goes fine you should be ok.