Menu

#6 Patch to make Oratcl load in a mixed 8i, 9i and 10g env

closed-rejected
nobody
None
5
2007-10-27
2006-05-17
No

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

Discussion

  • Jackson McCann

    Jackson McCann - 2006-05-17

    Patch file for oratcl.c

     
  • Todd Helfter

    Todd Helfter - 2007-10-27
    • status: open --> closed-rejected
     
  • Todd Helfter

    Todd Helfter - 2007-10-27

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.