problems installing DBD::Oracle on AIX



I know this has been discussed several times before, and I ahev tried
all recomendations withotu success. I am trying to build DBD::Oracle on
an AIX box, here are the details

AIX: 5.3
Oracle 10.2.0
DBI-1.51
DBD-Oracle-1.17
perl 5.8. built for aix-multi-thread
gcc 4.1.1

Perl and DBI both were built with this(4.1.1) version of gcc, but make
on DBD
fails with the following error. My understanding is that Oracle 10 is
64 bit, so is AIX 5.3. I built perl with the -Duse64bitall. What am I
missing here?

root @ system: /u02/software/DBD-Oracle-1.17 => make
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
gcc -Wl,-bhalt:4 -Wl,-bexpall -Wl,-G -Wl,-bnoentry -lpthreads
-lc -L/usr/local/lib Oracle.o dbdimp.o oci8.o
-L/u01/app/oracle/product/10.2.0/lib/
-L/u01/app/oracle/product/10.2.0/rdbms/lib/ -lclntsh -lld -lm `cat
/u01/app/oracle/product/10.2.0/lib/sysliblist` -lm -lpthreads -o
blib/arch/auto/DBD/Oracle/Oracle.so
ld: 0711-736 ERROR: Input file
/u01/app/oracle/product/10.2.0/lib//libclntsh.so:
XCOFF64 object files are not allowed in 32-bit mode.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.

Stop.

thanks for any help
Zahid

.



Relevant Pages

  • DBI compile on AIX 5.2
    ... A perl -V tells me that it was "built under aix". ... any gcc compiled modules, you need to recompile perl with gcc as well? ...
    (perl.dbi.users)
  • Re: Why this error ?
    ... I'm running PERL 5.6.0 on a AIX. ... perl: warning: Setting locale failed. ... Had a similiar problem with a debian distro and it was to do with the way the OS was built ...
    (perl.beginners)
  • Re: Please critique this short script that scans a log file
    ... the script needs to run on AIX 4.3 (which ... on exclusively on the IBM AIX 5.1, ... whatever Perl they come with. ... >are really are computing a string of printf template elements. ...
    (comp.lang.perl.misc)
  • Problem on AIX
    ... I want install a version of the DBD::Informix in a AIX 4.3.3 with Informix 5 and ESQL/C 5.20 installed. ... You are using DBI version 1.50 and Perl version 5.008 ...
    (perl.dbi.users)
  • Re: Nested loop
    ... the foreach expression ... their copy of Perl affect how I code or advise ... I agree with Chas and can support the AIX notion as I ...
    (perl.beginners)