Webb Linda-ra0546 wrote:

> I am loading DBD::Informix on hpux 11.0.  Unfortunately Perl is installed for 32 bit 
>os, now when I type make it gives me the following error:
>  
> LD_RUN_PATH="" ld -o blib/arch/auto/DBD/Informix/Informix.sl -b Informix.o dbdimp.o 
>dbdattr.o sqltoken.o sqltype.o ixblob.o decsci.o odbctype.o link.o esqlcver.o 
>esqlc_v6.o -L/usr/informix/product/clisdk/lib -L/usr/informix/product/clisdk/lib/esql 
>/usr/informix/product/clisdk/lib/esql/libifos.a 
>/usr/informix/product/clisdk/lib/esql/libifgen.a 
>/usr/informix/product/clisdk/lib/esql/libifsql.a 
>/usr/informix/product/clisdk/lib/libifasf.a 
>/usr/informix/product/clisdk/lib/esql/libifos.a 
>/usr/informix/product/clisdk/lib/esql/libifgen.a 
>/usr/informix/product/clisdk/lib/esql/libifgls.a -lnsl -lm -lsec 
>/usr/informix/product/clisdk/lib/esql/libifglx.a 
> 
> ld: /usr/informix/product/clisdk/lib/esql/libifos.a: Not a valid library (invalid 
>magic number). Possibly a 64-bit PA archive library (Mismatched ABI).
> 
> *** Error exit code 1
> 
>  
> 
> Informix, and the sdk client are all installed for 64 bit os.  Is there a way to 
>resolve this without reloading perl or informix?  Should I try to get an sdk client 
>for 32 bit?


You're going to have to alter one of the two systems -- either build and install a 
64-bit 
Perl (and DBI, and ...) or obtain and install a 32-bit version of CSDK.

If you change the version of CSDK, however, you need to know whether your Informix 
database server is a 64-bit version (9.xy.FCz) or a 32-bit version (9.xy.HCz or 
9.xy.UCz). 
  I'm not at all sure that there are .HCz versions of the server.  If you have the 
64-bit 
version, then you need the CSDK 2.xy.HCz version (for 32-bit apps talking to a 64-bit 
server), as opposed to the 2.xy.FCz version (which is for 64-bit apps talking to a 
64-bit 
server) or a 2.xy.UCz (which is for 32-bit apps talking to a 32-bit server).  When 
combined, Perl+DBI+DBD::Informix+CSDK form a single program and a single program has 
to be 
self-consistent w.r.t to 32-bitness or 64-bitness.

-- 
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix 1.00.PC2 -- http://dbi.perl.org/

  • ... Thimmasandra S Subbegowda
    • ... Webb Linda-ra0546
      • ... Jonathan Leffler
    • ... "Иван Иванов"

Reply via email to