1846701 Members
3181 Online
110256 Solutions
New Discussion

Shared library issue

 
Wendy_4
Frequent Advisor

Shared library issue

Hi,

My HP-UX system is upgrated from 10.2 to 11i, the Oracle system is upgrated from 8i to 9i.

In my application we need to use $ORACLE_HOME/lib32/libclntsh.sl.9.0, we do like this:

1. make a link to this file in our run time directory /opt/osmf/lib:
libclntsh_osmf.sl->/opt/oracle.../lib32/libclntsh.sl.9.0

2. in the make file we link the file to libclntsh_osmf.sl so we avoid the application will link to the libclntsh.sl.9.0 which in the Oracle installation directory.

but after compiling for example I got xyz binary file, and I use "chatr xyz" to see it, I see they link to the libclntsh.sl.9.0 like this:
dynamic /opt/osmf/lib/libclntch.sl.9.0
It's not correct, it should look like this:
dynamic /opt/osmf/lib/libclntsh_osmf.sl
and it was correct before on HP-UX10.2 and ORACLE 8i.

I do some other test on the shared library link it seems works fine. I don't know why this Oracle libclntch.sl.9.0 doesn't work.

Looking forward to your response.

Thanks in advance,
Wendy