On 17/07/2020 13:02, Bala GANESH wrote:

        LD_RUN_PATH="/oracle/product/19.7/lib:/oracle/product/19.7/rdbms/lib" ld  -bhalt:4 -G -bI:/usr/opt/perl5/lib/5.28.1/aix-thread-multi/CORE/perl.exp  -bnoentry -lpthreads -lc -lm -bE:Oracle.exp Oracle.o  dbdimp.o  oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so    -L/oracle/product/19.7/lib -lclntsh -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat ld: 0711-736 ERROR: Input file /oracle/product/19.7/lib/libclntsh.so:         XCOFF64 object files are not allowed in 32-bit mode. make: 1254-004 The error code from the last command is 8. Stop. pibdev:root[/oracle/PIBDEV2/post/softwares/DBD-Oracle-1.80]# make install          "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs 644         rm -f blib/arch/auto/DBD/Oracle/Oracle.so         LD_RUN_PATH="/oracle/product/19.7/lib:/oracle/product/19.7/rdbms/lib" ld  -bhalt:4 -G -bI:/usr/opt/perl5/lib/5.28.1/aix-thread-multi/CORE/perl.exp  -bnoentry -lpthreads -lc -lm -bE:Oracle.exp Oracle.o  dbdimp.o  oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so    -L/oracle/product/19.7/lib -lclntsh -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat ld: 0711-736 ERROR: Input file /oracle/product/19.7/lib/libclntsh.so:         XCOFF64 object files are not allowed in 32-bit mode. make: 1254-004 The error code from the last command is 8. Stop.

I'd guess you are not using the same C compiler to build DBD::Oracle that was used to build Perl. Did you build Perl or did you get it pre-built from a repository for AIX? If the latter then you need to use the same compiler as was used to build Perl. You are mixing 32 bit compiled code with 64 bit compiled code as it stands.

Martin

--
Martin J. Evans
Wetherby, UK

Reply via email to