We are running a mixture of Oracle versions, 32 bit
8i and 64 bit 10g. As we want to continue with a 32
bit version of Tcl there is a problem finding the
correct version of the libclntsh.so library. For 8i
it's in the lib directory and for 10g it's in the
lib32 directory.
The attcahed file patches the oratcl.c file to try
the lib32 directory if it fails to load the
libclntsh.so from the lib directory.
I've tested this on Solaris 8 with Oracle 8.1.4 and
10.1.0.
I don't known if this is something you want in the
core but as I'd written it I thought I would share :-)
Jackson
Patch file for oratcl.c
Logged In: YES
user_id=92123
Originator: NO
Starting in Oratcl 4.4 you can specify the client library with the ORACLE_LIBRARY environment variable. This variable, when set to the path of the Oracle libclntsh.so file will over-ride the default behavior.
This is particularly useful because the Instant Clients do not put the library in the same location as a normal client install