troubleshooting Question

Perl DBI Driver

Avatar of mohitgyl
mohitgyl asked on
3 Comments1 Solution1076 ViewsLast Modified:
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 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/Constants'
make[1]: Leaving directory `/home/antu/DBD-DB2-1.79/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 '/home/antu/DBD-DB2-1.79/blib/arch/auto/DBD/DB2/' for module DBD::DB2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/ 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
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
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

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros