So I got this puppy compiled with gcc and it seems to work as advertised (saved 189,000 opens of oraus.msb for one Pro*C application doing 500 transactions). Some things are a little off when the LD_PRELOAD environment variable is set. For instance if I try to do a truss that starts a program: $ truss -f -o truss.out application ld.so.1: truss: fatal: ./cache_oraus.so: wrong ELF class: ELFCLASS64 Killed $ That's with the -m64 flag on gcc. If I don't put the -m64 flag it complains about ELFCLASS32. On the other hand, if I start truss in another shell and tell it the process number of the process it handles it just fine. It's an annoyance that I can work around buy setting the LD_PRELOAD before the Pro*C app and unsetting it immediately afterwards. But it is still an annoyance. R> http://developers.sun.com/solaris/articles/oci_cache.html#4 ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------