Ken,

The compiler is the latest version from Sun as Forte or
I guess it is SunOne now.  I had tried to build a 5.8
64 bit Perl a few months back and ran into serious make
problems and abandoned that idea.  I have checked and
have the sparcv9 version of ld in the path.  This Oracle
is patched to 9.2.0.3.0 currently.

John,

I have mixed feelings about forcing it to use the 32 bit
library set.  I'll try this as a last resort work around.
We are building customer deliverables and need this process
to be repeatable with documentation on the next CPAN upgrade.

Keep those ideas and thoughts coming and thanks.   Richard.


>One idea that 'seemed' to work for me is . . .
>in your makefile - consider changing oracle9/lib to oracle9/lib32  should be
>in 2 -3 three different places.
>
>I say seemed because while it did compile, the make test is still hanging on
>something . .

>hope this helps.

>
jdr
Ken Gaul wrote:
> 
> Have you got 64 bit compiler and associated tools (ld etc)?
> 
> Ken.
> 
> On Thu, 2003-06-12 at 17:43, Richard Felkins wrote:
> > When we installed using a 32 bit oracle in the past everything
> > was fine.  Doing a re-install with Oracle 9 (64bit) is generating
> > these errors, any ideas?
> >
> > Thanks, richardf at san dot rr dot com
> >
> > Running Mkbootstrap for DBD::Oracle ()
> > chmod 644 Oracle.bs
> > rm -f blib/arch/auto/DBD/Oracle/Oracle.so
> > LD_RUN_PATH="/usr/local/oracle9/lib:/usr/local/oracle9/rdbms/lib"
> > /opt/SUNWforte7/SUNWspro/bin/cc  -G -L/usr/local/lib Oracle.o  dbdimp.o  oci7.o
> > oci8.o -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
> > -L/usr/local/oracle9/rdbms/lib/ -L/usr/local/oracle9/lib/   -lclntsh -lnbeq9
> > -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9
> > -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl -R/usr/local/oracle9/lib
> > -laio -lposix4 -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so
> > ld: fatal: file /usr/local/oracle9/lib//libclntsh.so: wrong ELF class:
> > ELFCLASS64
> > ld: fatal: File processing errors. No output written to
> > blib/arch/auto/DBD/Oracle/Oracle.so
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `blib/arch/auto/DBD/Oracle/Oracle.so'
> >   /usr/ccs/bin/make  -- NOT OK
> >
> > cpan>

Reply via email to