Problems with DBD::Informix

From: Dean Heath (dean.heath_at_hp.com)
Date: 11/21/03


Date: Fri, 21 Nov 2003 12:32:02 -0600
To: <dbi-users@perl.org>


Hello,
 
I am trying to install Perl DBI on an HPUX Cluster Server. Here are the
particulars:

* Unix Version: 11.11
* Informix Version: 9.30.FC1-1
* DBI Version: DBI-1.38
* DBD Version: DBD-Informix-2003.04

I have succeeded in making DBI, but I am having trouble making DBD. At
the end of the ouput from make, I get the following error output:

LD_RUN_PATH="" ld -b -s -a shared Informix.o dbdimp.o dbdattr.o
sqltoken.o sqltype.o ixblob.o decsci.o odbctype.o link.o esqlcver.o
esqlc_v6.o -L/
opt/informix9.30.FC1-1/lib -L/opt/informix9.30.FC1-1/lib/esql -lifsql
-lifasf -lifgen -lifos -lifgls -lnsl -lm -lsec
/opt/informix9.30.FC1-1/lib/esql/
checkapi.o -lifglx -o blib/arch/auto/DBD/Informix/Informix.sl
ld: dbdimp.o: Mismatched ABI. 64-bit PA object file found in 32-bit
link.
*** Error exit code 1
 
Stop.

I have looked on the Internet to see if anyone else has had a similar
problem. I found some postings, but did not find anything that helped.
 
I have attached a LOG file, OOPS.log, that contains the output from the
following:

* perl Makefile.PL
* make

Another perturbing factor in this install of Perl DBI is that this
installation is in a clustered environment. There are multiple virtual
servers residing on this one clustered server (~65 virtual servers).
There is a shared perl at /usr/bin/perl among others. When I build this
Custom Perl, I need to locate it in a unique directory, relative to the
PACKAGE ROOT Directory. In my case, this path is as follows:

/cm-donp/opt/bin/perl

When I built DBI, I had to run make as follows:

make PREFIX=/cm-donp/opt

This worked just fine; all the DBI files ended up under /cm-donp/opt.
When I look at the LOG file output, it says something about using DBI
version 1.35. I built 1.38. How do I point to my version of DBI? Make
appears to be using a pre-existing DBI 1.35 installation in the
following directory:

/opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1/auto/DBI

My 1.38 built version is in:

/cm-donp/opt/lib/site_perl/5.6.1/PA-RISC1.1/auto/DBI

Are there changes that need to be made to Makefile.PL to point to my
1.38 version? Anything else?
 
I would appreciate any help you can give me. I am up against a tight
schedule, and am in desperate need of assistance.

Dean Heath
    Managed Business Solutions (MBS)
    Location: Corvallis Site, BLDG 5U-P5
    Email: Dean.Heath@hp.com
    Phone: (541) 715-3035
    Fax: (541) 715-1728

 






Relevant Pages

  • Reg: Installing Perl DBI
    ... when i try to type the command "Install dbi" in the PPM> it gives ... to install the Perl DBI. ... What should i do if i want to install the perl dbi ...
    (perl.dbi.users)
  • Re: Problems with DBD::Informix
    ... > I am trying to install Perl DBI on an HPUX Cluster Server. ...
    (perl.dbi.users)
  • RE: Problems in DBI
    ... I am able to work for perl dbi now ... Subject: Problems in DBI ... (Or your install is damaged in some way). ... someone installed and uninstalled Oracle 8.1.6 and installed Oracle 8.1.7, ...
    (perl.dbi.users)
  • Errors in DBI installation!!
    ... I am getting the errors when trying to install DBI module. ... Perl versions below 5.6.1 are no longer supported by the DBI. ... *** Error code 1 ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)