Figured it out by replacing 
$ORACLE_HOME/rdbms/lib and $ORACLE_HOME/lib with
 
$ORACLE_HOME/rdbms/lib32 and $ORACLE_HOMe/lib32 in the Makefile
 
Dave Clarke.

        -----Original Message-----
        From: Dave Robert Clarke (daclarke) 
        Sent: Friday, October 04, 2002 11:43 AM
        To: '[EMAIL PROTECTED]'
        Cc: '[EMAIL PROTECTED]'
        Subject: Problem linking DBD against Oracle 9.2.0.1 64bit
Solaris.
        
        
        Hi,
         
        I am having problems specifically liking DBD against an Oracle
9.2.0.1 64bit supported OS on Solaris 2.8. I performed the same test on
a 32bit OS without any problems. 
         
        The version of DBD is 1.12 version of perl installed v5.6.1.
         
        The command fails when running 'make'
         
        LD_RUN_PATH="/oracle/product/9.2.0.1/lib" gcc  -G
-L/usr/local/lib Oracle.o  dbdimp.o  oci7.o  oci8.o
/oracle/product/9.2.0.1/rdbms/lib/defopt.o  -o
blib/arch/auto/DBD/Oracle/Oracle.so   -L/oracle/product/9.2.0.1/lib/
-lclntsh -lnsl -lsocket -lgen -ldl -R/oracle/product/9.2.0.1/lib -laio
-lposix4 -lkstat -lm -lthread  
        ld: fatal: file /oracle/product/9.2.0.1/rdbms/lib/defopt.o:
wrong ELF class: ELFCLASS64
        ld: fatal: File processing errors. No output written to
blib/arch/auto/DBD/Oracle/Oracle.so
        collect2: ld returned 1 exit status
        *** Error code 1
        make: Fatal error: Command failed for target
`blib/arch/auto/DBD/Oracle/Oracle.so'
         
        The attached file contains the output from:
         
        perl Makefile.PL -v
        make
         
        Thanks
         
        Dave Clarke
        Cisco Systems Amsterdam
         
         

Reply via email to