Problem on Solaris 8 64-bit.



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


Relevant Pages

  • Re: TSCAL License Transition Site Problems?
    ... know this because if I try badly formatted keys it complains). ... product codes for TS CALs. ... script timeout page with an ASP error. ...
    (microsoft.public.windows.terminal_services)
  • Re: Stuff of the Year - a personal choice.
    ... being turned into a movie. ... he complains that the only word left ... in the script from his original novel was the word "the". ...
    (uk.music.guitar)
  • Re: DL380/G2 Hot plug 72G DAT tape drive not working on
    ... > used a little script to engage the scsi once booted but it complains of I/O ... > errors and offlines the drive. ...
    (Fedora)
  • Re: --purge when package already gone ?
    ... > complains it is not there. ... I could rm the script, ... Any way through the standard tools? ... "Theoretical politics is interesting. ...
    (Debian-User)
  • Re: Hyperlinks
    ... http://www.snipesfamily.net/index_files/DAVE.htm The issue is that Publisher ... the design checker tool will find some of these issues. ... I am betting that you are using a script on your home page that you are not ... I have seen a lot of Publisher produced sites that load ...
    (microsoft.public.publisher.webdesign)