Installation of DBD Oracle

Installation of DBD Oracle

am 01.02.2007 17:12:27 von anhdao.nguyen

--=====================_1904469671==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hello,

After installing DBI, I tried to install DBD-Oracle-1.19 on my solaris 10
(sparc 64bit).
I have Oracle Database 10g (10.2.0.1.0 - 64bit) installed on the machine.

I got the following error messages:


ld: fatal: file Oracle.o: wrong ELF class: ELFCLASS32
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'


Could you please help me to solve the problem?
Thanks
Anh-Dao



--=====================_1904469671==.ALT--

RE: Installation of DBD Oracle

am 01.02.2007 19:29:30 von Ron.Reidy

How did you "try to install" DBD::Oracle?
What is the output of 'perl -V' on your solaris box?

--
Ron Reidy
Lead DBA
Array BioPharma, Inc.

-----Original Message-----
From: Anh Dao Nguyen [mailto:anhdao.nguyen@nist.gov]=20
Sent: Thursday, February 01, 2007 9:12 AM
To: dbi-users@perl.org
Subject: Installation of DBD Oracle

Hello,

After installing DBI, I tried to install DBD-Oracle-1.19 on my solaris
10=20
(sparc 64bit).
I have Oracle Database 10g (10.2.0.1.0 - 64bit) installed on the
machine.

I got the following error messages:


ld: fatal: file Oracle.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to=20
blib/arch/auto/DBD/Oracle/Oracle.so
*** Error code 1
make: Fatal error: Command failed for target=20
`blib/arch/auto/DBD/Oracle/Oracle.so'


Could you please help me to solve the problem?
Thanks
Anh-Dao



This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
or use of the contents of this information is prohibited. Please notify =
the
sender of the delivery error by replying to this message, or notify us =
by
telephone (877-633-2436, ext. 0), and then delete it from your system.

Re: Installation of DBD Oracle

am 01.02.2007 20:09:04 von scoles

most likly you are trying to compile DBD::Oracle to a 64 bit client. Try
pointing to the 32bit client:
----- Original Message -----
From: "Anh Dao Nguyen"
To:
Sent: Thursday, February 01, 2007 11:12 AM
Subject: Installation of DBD Oracle


> Hello,
>
> After installing DBI, I tried to install DBD-Oracle-1.19 on my solaris 10
> (sparc 64bit).
> I have Oracle Database 10g (10.2.0.1.0 - 64bit) installed on the machine.
>
> I got the following error messages:
>
>
> ld: fatal: file Oracle.o: wrong ELF class: ELFCLASS32
> 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'
>
>
> Could you please help me to solve the problem?
> Thanks
> Anh-Dao
>
>
>