You can't link against the 64-bit version unless your Perl (and by
extension all modules including DBI and DBD::Oracle) is built with maximal
64-bit support.

The problem is that it is not possible to "mix and match" linking 32-bit
and 64-bit libraries.  If you do build your Perl as 64-bit, you will then
no longer be able to link it to any 32-bit libraries (including everything
in /opt/sfw/lib and any libraries that are not explicitly 64-bit) unless
you build 64-bit versions of those libraries.

Hope this helps.

On Mon, 14 Oct 2002, Kwabbi, Seth wrote:

> When running make for the DBD-Oracle-1.12 module, I encounter this
> error:
>
>   ld: fatal: file /u01/app/oracle/product/9.0.1/lib//libclntsh.so: wrong ELF
> class: ELFCLASS64
>
>  My environment Solaris 2.8 ( 64 Bit ) and using gcc compiler version
> 2.95.3 20010315 ( release). Also know if I set LD_LIBRARY_PATH to point
> to the Oracle lib32 libraries it will work, howver I prefer "make" to
> use the 64 Bit version.
>
> Does anyone know what causes this problem ?
>
> Cheers.
>
> Seth Kwabbi
>
> ACS - DSS
> Atlanta, Ga
>
>

- D

<[EMAIL PROTECTED]>

Reply via email to