ELFCLASS64 error
From: Christian Merz (christian.merz_at_muenchen.de)
Date: 11/28/03
- Next message: Tim Bunce: "Re: DBD::Oracle / ORACLE_HOME="/app/local/oracle/product/9.2.0" / Solaris-2.8 / ..."
- Previous message: Michael A Chase: "Re: perl query, please clear my doubt."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <dbi-users@perl.org> Date: Fri, 28 Nov 2003 09:14:59 +0100
Hi all,
you get
ld: fatal: file /oracle/P14/920_64/lib//libclntsh.so: wrong ELF class:
ELFCLASS64
ld: fatal: File processing errors. No output written to
blib/arch/auto/DBD/Oracle/Oracle.so
when you try to install DBD::Oracle (32bit Perl) on a 64bit Oracle.
This was discussed erlier. Our system group found a handy solution (after a
few days and lots of swearing):
1. change in $ORACLE_HOME/rdbms/lib/env_rdbms.mk:
LIBDIR=lib --> LIBDIR=lib32
2. after 'perl Makefile.PL' delete in Makefile the '-o build' option (only
required for Oracle 9.2.0; no changes required for 8.1.7; at least in our
installations)
3. after the installation remember to reset your env_rdbms.mk:
LIBDIR=lib32 --> LIBDIR=lib
Hope this may help,
---------------------------------------------------------
Landeshauptstadt München
Direktorium - AFID 3.3 - Oracle DBA
C.A. Merz
- Next message: Tim Bunce: "Re: DBD::Oracle / ORACLE_HOME="/app/local/oracle/product/9.2.0" / Solaris-2.8 / ..."
- Previous message: Michael A Chase: "Re: perl query, please clear my doubt."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|