Re: Tcl 8.4.18 and Oratcl



On Feb 21, 10:28 am, alf <amnon.fril...@xxxxxxxx> wrote:
I installed ActiveTcl8.4.18.0.284097-solaris-sparc-2.8.
The OS is SUnOS 5.8, 64bit.

I wrote a script which fails on 'package require Oratcl'.
Oratcl is 4.4.
Oracle is 10g, ORACLE_HOME is exported.

The error message is:
Oratcl_Init(): Failed to load /export/opt/oraClient/10.2.0.3/lib/
libclntsh.so with error ld.so.1: tclsh: fatal: /export/opt/oraClient/
10.2.0.3/lib/libclntsh.so: wrong ELF class: ELFCLASS64

What do I have to do to fix this?

What you have is the 64-bit Oracle on that machine, and are trying to
use it against the public 32-bit ActiveTcl. We do have 64-bit builds,
but only through our Enterprise Distribution channel. It is possible
to use the 32-bit Oracle though (at least the client side) to make it
work with what you have.

Jeff
.



Relevant Pages