Problem on Solaris 8 64-bit.
- From: rhugga@xxxxxxxxx (Rhugga Harper)
- Date: Thu, 30 Mar 2006 16:01:18 -0600
I'm running Oracle 10.2.0.1 on Solaris 8 64-bit. I running DBI 1.50,
DBD::Oracle 1.16, and Perl 5.8.7.
When I run a script that uses DBD::Oracle, it complains about wrong ELF
class:
Can't load
'/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: ld.so.1: snapshot_tracker: fatal:
/u01/app/oracle/product/10.2/lib/libclntsh.so.10.1: wrong ELF class:
ELFCLASS64 at /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line
230.
at ./snapshot_tracker line 10
Compilation failed in require at ./snapshot_tracker line 10.
BEGIN failed--compilation aborted at ./snapshot_tracker line 10
Even if I set LD_LIBRARY_PATH=/u01/app/oracle/product/10.2/lib32 in my shell
environment and also explicitly set this using $ENV inside my script it
still complains. If I copy the 32-bit client library into the
/u01/app/oracle/product/10.2/lib directory my perl scripts work but then
sqlplus is broken. (and subsequently all my shell scripts)
Have I built DBD::Oracle incorrectly or how can I get DBI/DBD to use the
library under lib32? (I would like to get DBD::Oracle to use the 64-bit
library)
Thanks for any help,
CC
- Follow-Ups:
- Re: Problem on Solaris 8 64-bit.
- From: Jonathan Leffler
- Re: Problem on Solaris 8 64-bit.
- Prev by Date: Re: DBD driver has not implemented the AutoCommit attribute ...
- Next by Date: DBI windows binaries
- Previous by thread: IRC
- Next by thread: Re: Problem on Solaris 8 64-bit.
- Index(es):
Relevant Pages
|
|