Tuesday, July 23, 2013

Incompatible version of libocijdbc[Jdbc:112020, Jdbc-OCI:112030

I fixed the "Incompatible version of libocijdbc[Jdbc:112020, Jdbc-OCI:112030" error message that we were seeing while starting swingbench with Oracle oci Driver

Here is what I did to fix the issue:
Installed an older version of Oracle Client on the machine, and then did the following

bash-4.2$ pwd
/swingbench/swingbench/lib
bash-4.2$ cp /oh/product/11.2.0/client_2/instantclient/ojdbc5.jar .
bash-4.2$
bash-4.2$ ls -lrt
total 33888
-rw-r--r--    1 oracle   dba          479413 Mar  7 19:52 ucp.jar
-rw-r--r--    1 oracle   dba        11512178 Mar  7 19:52 swingbench.jar
-rw-r--r--    1 oracle   dba           20349 Mar  7 19:52 simplefan.jar
-rw-r--r--    1 oracle   dba           70569 Mar  7 19:52 ons.jar
-rw-r--r--    1 oracle   dba         2152849 Mar  7 19:52 ojdbc6.jar
drwxr-xr-x    2 oracle   dba             256 Mar  7 19:52 launcher
-rw-r--r--    1 oracle   dba          999966 Mar  7 19:52 ant.jar
-rw-r--r--    1 oracle   dba         2095661 Mar  7 19:53 ojdbc5.jar

bash-4.2$ cp ojdbc5.jar ojdbc6.jar

That did it.