On 2007-08-14 09:53:33 +0100, Tim Bunce wrote:
> ----- Forwarded message from [EMAIL PROTECTED] -----
> 
> X-IP: 216.150.208.7
> From: [EMAIL PROTECTED]
> To: Tim Bunce <[EMAIL PROTECTED]>
> Subject: Re: DBD::Oracle won't install for Oracle 10G XE
> Date: Mon, 13 Aug 2007 22:42:59 -0700
> X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US;
>  rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6,gzip(gfe),gzip(gfe)
> 
> perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>   Platform:
>     osname=linux, osvers=2.6.18, archname=x86_64-linux-thread-multi
                                            ^^^^^^
> I installed oracle XE via the RPM file oracle-xe-10.2.0.1-1.0.i386.rpm
                                                                ^^^^

> But the linker indicates that this library is incompatible.

You cannot link a 32 bit library (i386) to a 64 bit executable (x86_64).
You need to get a 64-bit version of oracle client (or a 32 bit version
of perl). AFAIK the express edition is only available for 32 bit linux,
so you need to get a standard or enterprise edition.

I just got 10201_client_linux_x86_64.cpio (whatever that is :-)) to
work. It needs two extra libraries in LDLOADLIBS:

LDLOADLIBS = -L/ora/app/oracle/product/client/lib -lclntsh -ldl -lm -lpthread 
-lnsl -lirc -lnnz10 -ln10

but I haven't yet figured out a patch for Makefile.PL ...

        hp


-- 
   _  | Peter J. Holzer    | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR       | I'd be programming in Java.
| |   | [EMAIL PROTECTED]      | I don't, and I'm not.
__/   | http://www.hjp.at/ |   -- Jesse Erlbaum on dbi-users

Attachment: pgpGJZklDISrv.pgp
Description: PGP signature

Reply via email to