Hi All,

I have created two separate shared libraries for SQL2K and SQL2K5
respectively on HPUX-11.11.
Both have all functions with the same name however some processing is
different as per requirements.

Actually once any of the library my process call and load first only
that is effective through out. However we have used proper
shl_unload() function.
The commands to create libraries are follows.

ld -b +s -B immediate -B verbose -L/citisafe/users/secpxyit/syb1251/
OCS-12_5/lib -L/usr/lib -L/citisafe/users/secpxyit/LDAP/include/lib -L/
opt/java1.4/jre/lib/PA_RISC2.0/hotspot /citisafe/users/ssomani/tcodss/
cs35/cref/ver_libtcsql.oz citisafe/users/ssomani/tcodss/cs35/cref/
tcsqlgsl.oz /citisafe/users/ssomani/tcodss/cs35/cref/tcsqlcmn.oz /
citisafe/users/ssomani/tcodss/cs35/cref/base64.oz -o /citisafe/users/
ssomani/tcodss/cs35/lib/libtcsql.sl -ljvm -llwp

ld -b +s -B immediate -B verbose -L/citisafe/users/secpxyit/syb1251/
OCS-12_5/lib -L/usr/lib -L/citisafe/users/secpxyit/LDAP/include/lib -L/
opt/java1.4/jre/lib/PA_RISC2.0/hotspot /citisafe/users/ssomani/tcodss/
cs35/cref/ver_libtcsql2k5.oz /citisafe/users/ssomani/tcodss/cs35/
cref/tcsql2k5gsl.oz /citisafe/users/ssomani/tcodss/cs35/cref/
tcsqlcmn.oz /citisafe/users/ssomani/tcodss/cs35/cref/base64.oz -o /
citisafe/users/ssomani/tcodss/cs35/lib/libtcsql2k5.sl -ljvm -llwp

Now one more thing the processing part....
My App**.sl ----> libtcsql***.sl -------> Some.jar(which contains
actual processing functions for sql servers.

Both libtcsql and libtcsql2k5 have same name of functions and all.

Please suggest where I am missing and what precautions I must take so
that I could avoid this issue.
Also please revert if some more details are required and something
need further clarification.

Thanks in advance,

Best Regards
Sunil Somani