If you try to make with the 64bit perl libs you get this (something in the header files??):
ld: 0711-738 ERROR: Input file Oracle.o:
XCOFF32 object files are not allowed in 64-bit mode.
I have played around with the Makefile, but still get the same XCOFF error.

So, if you follow the readme.aix and make with the Oracle lib32, you get this:
batch@cidb1613> cat make.out cp Oracle.pm blib/lib/DBD/Oracle.pm cp oraperl.ph blib/lib/oraperl.ph cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h cp Oraperl.pm blib/lib/Oraperl.pm cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm /appl/datasync/work/perl5/bin/perl -e 'use ExtUtils::Mksymlists; \ Mksymlists("NAME" => "DBD::Oracle", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /appl/datasync/work/perl5/bin/perl -p -e "s/~DRIVER~/Oracle/g" /appl/datasync/work/perl5/lib/site_perl/5.8.4/aix-thread-multi-64int/auto/DBI/Driver.xst > Oracle.xsi /appl/datasync/work/perl5/bin/perl /appl/datasync/work/perl5/lib/5.8.4/ExtUtils/xsubpp -typemap /appl/datasync/work/perl5/lib/5.8.4/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c cc_r -c -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/plsql/public -I/usr/local/opt/oracle/product/9.2.0/network/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/appl/datasync/work/perl5/lib/site_perl/5.8.4/aix-thread-multi-64int/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -b32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-I/appl/datasync/work/perl5/lib/5.8.4/aix-thread-multi-64int/CORE" -DUTF8_SUPPORT Oracle.c cc_r -c -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/plsql/public -I/usr/local/opt/oracle/product/9.2.0/network/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/appl/datasync/work/perl5/lib/site_perl/5.8.4/aix-thread-multi-64int/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -b32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-I/appl/datasync/work/perl5/lib/5.8.4/aix-thread-multi-64int/CORE" -DUTF8_SUPPORT dbdimp.c cc_r -c -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/plsql/public -I/usr/local/opt/oracle/product/9.2.0/network/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/appl/datasync/work/perl5/lib/site_perl/5.8.4/aix-thread-multi-64int/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -b32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-I/appl/datasync/work/perl5/lib/5.8.4/aix-thread-multi-64int/CORE" -DUTF8_SUPPORT oci7.c cc_r -c -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/plsql/public -I/usr/local/opt/oracle/product/9.2.0/network/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/usr/local/opt/oracle/product/9.2.0/rdbms/public -I/usr/local/opt/oracle/product/9.2.0/rdbms/demo -I/appl/datasync/work/perl5/lib/site_perl/5.8.4/aix-thread-multi-64int/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -b32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-I/appl/datasync/work/perl5/lib/5.8.4/aix-thread-multi-64int/CORE" -DUTF8_SUPPORT oci8.c Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/usr/local/opt/oracle/product/9.2.0/lib32:/usr/local/opt/oracle/product/9.2.0/rdbms/lib32" ld -bhalt:4 -bM:SRE -bI:/appl/datasync/work/perl5/lib/5.8.4/aix-thread-multi-64int/CORE/perl.exp -bE:Oracle.exp -bnoentry -lpthreads -lc -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o -b32 -L/usr/local/opt/oracle/product/9.2.0/lib32/ -L/usr/local/opt/oracle/product/9.2.0/rdbms//lib32/ -lclntsh -lld -lm /lib/crt0_r.o -ldl -lc -lpthreads -lodm -lm -lbsd_r -lld -lm -lpthreads -o blib/arch/auto/DBD/Oracle/Oracle.so chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs /appl/datasync/work/perl5/bin/perl "-Iblib/arch" "-Iblib/lib" ora_explain.PL ora_explain Extracted ora_explain from ora_explain.PL with variable substitutions. cp ora_explain blib/script/ora_explain /appl/datasync/work/perl5/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ora_explain Manifying blib/man1/ora_explain.1 Manifying blib/man3/DBD::Oracle.3 Manifying blib/man3/DBD::Oraperl.3


And here is the make test on that same:
batch@cidb1613> make test
PERL_DL_NONLAZY=1 /appl/datasync/work/perl5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base.......dubious
Test returned status -1 (wstat 132, 0x84) test program seems to have generated a core t/cursor.....dubious
Test returned status -1 (wstat 132, 0x84) test program seems to have generated a core t/general....
It just hangs here.
Any ideas?

In reply to Re^2: 64bit perl on AIX by daryle
in thread 64bit perl on AIX by daryle

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.