Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
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