Perl DBD module error on Solaris 8 with Oracle 9i

From: Radhika Sambamurti (radhika_narendran@yahoo.com)
Date: Mon Aug 26 2002 - 15:30:51 EDT


Hello,

I am trying to install DBD-1.12 DBD::Oracle with Oracle 9i
client on Solaris 8. I am getting the below errors.
Something about not writing to Oracle.so and a fatal elf
error.

any help will be appreciated.

I have installed: DBI-1.24
I am trying to install DBD-1.12 DBD::Oracle
Solaris 8
Oracle 9i

ERROR from make:
-------------------------------

LD_RUN_PATH="/usr/local/home/oracle/OraHome1/lib" gcc
-B/usr/ccs/bin/ -G -L/usr/local/lib Oracle.o dbdimp.o
oci7.o oci8.o
/usr/local/home/oracle/OraHome1/rdbms/lib/defopt.o -o
blib/arch/auto/DBD/Oracle/Oracle.so
-L/usr/local/home/oracle/OraHome1/lib/ -lclntsh -lnsl
-lsocket -lgen -ldl -R/usr/local/home/oracle/OraHome1/lib
-laio -lposix4 -lkstat -lm -lthread
ld: fatal: file
/usr/local/home/oracle/OraHome1/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
gcc: file path prefix `/usr/ccs/bin/' never used
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/Oracle/Oracle.so'
------------------------

According to Config I am compiling with gcc which is
surprising because I believe the SMCperl5 pkg was compiled
with cc:

See:
 #perl -e 'use Config; print $Config{cc},$/'
gcc -B/usr/ccs/bin/

=====
It's all a matter of perspective. You can choose your view by choosing where to stand.
--Larry Wall
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:50 EDT