Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Install DB2 Perl Database Interface on HP-UX Integrity...Information

Gerrit Geurs
Occasional Visitor

Install DB2 Perl Database Interface on HP-UX Integrity...Information

When you try to install this make will exit with "
ld: Mismatched ABI for -ldb2, found /home/db2inst1/libdb2.so
Fatal error.
*** Error exit code 1
"

This is caused by default installed 32 bits perl version.

To solve this: Run as root user:
rm /usr/bin/perl
ln -s /opt/perl_64/bin/perl /usr/bin/perl

The procedure to install DB2 Perl is:
Goto the IBM website: https://www-304.ibm.com/support/docview.wss?uid=swg21297335
Download latest the kit (today this is : DBD-DB2-1.79.tar.gz)

gunzip and ‘tar xfz’ the downloaded kit
cd DBD-DB2-1.79
export DB2_HOME=/home/db2inst1/sqllib (the DB2 instance owner home directory)
perl Makefile.PL
make
make test
make install (if the test looks OK - 5 ok 's)

start your programs as 'perl NameOfProg.pl'


2 REPLIES
Hakki Aydin Ucar
Honored Contributor

Re: Install DB2 Perl Database Interface on HP-UX Integrity...Information

what is the question ? OR this is info ?
Gerrit Geurs
Occasional Visitor

Re: Install DB2 Perl Database Interface on HP-UX Integrity...Information

it's Info / Solution