Our solution: <bit-time-kludge>
afer Makefile.PL creates the makefile, edit it in vi.
Replace '911/lib' with '911/lib' everywhere
Replace 'rdbms/lib' with 'rdbms/lib' everywhere.
Then do your make. 
To really fix this will take someone who knows Makefile.PL to apply a patch
detect the 64bit version of Oracle9i(the presense of lib32's is a tip off). 
In the mean time we applied a quick script to do it in our
install/distribution scripts.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 10:23 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Soalris, DBD-1.12 and Oracle9i



I am trying to build the DBD-1.12 with Oracle 9i.  Everything compiles
into the object files, but it seems to build the files 32 bit rather
than 64 bit, so it fails on linking.  I searched Google and found a
couple of references of people who manually manipulated the Makefile
and changed the library to be lib32, but the results were never clear?

What is the best (any) solution to this problem?

ld: fatal: file /vol14/app/oracle/product/911/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

I had also tried adding the -m64 but got errors about it not being
allowed?  Any help would be greatly appreciated.

-- 
C Wayne Huling <[EMAIL PROTECTED]>

Reply via email to