Till recently we used RogueWave classes to connect to Oracle database both 10G and 11G server. So we used to do a build on 10.2.0.4 client and then use that same build with 10.2.0.4 as well as 188.8.131.52 client to connect to 10G and 11G server databases respectively.
Now we replaced RogueWave classes with Oracle Template Library solution which is a open source solution and want it to run the same way as in use Oracle 10.2.0.4 client to connect to Oracle 10G database and Oracle 184.108.40.206 client to connect to Oracle 220.127.116.11 database. But here when we used to do a build and link with occi library of 10.2.0.4 client we were unable to run that build by changing oracle client to 18.104.22.168 as name of occi library in Solaris 10.2.0.4 client is libocci.so.10.1 . This is not available in 22.214.171.124.
So we used static version of same library libocci10.a and we were successfully able to run our application on both 10.2.0.4 as well as 126.96.36.199 client but occasionally we get below message on console although no error is observed in data in databases.
ld.so.1: oracle: fatal: libskgxp11.so: open failed: No such file or directory
Here is the details.
SunOS md1npdsun37 5.10 Generic_141444-09 sun4v sparc sun4v