View Single Post

   
  #1 (permalink)  
Old 01-16-2008, 05:58 PM
Prem K Mehrotra
 
Posts: n/a
Default shared library path problem

I have Oracle installed on a HP UX 11 box. I want to use svrmgrl (on a
HP UNIX 11i box)
which uses a shared libary libjava.sl as shown below (output
of chatr svrmgrl):
shared library list:
dynamic
/local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
dynamic
/local8/app/oracle/product/8.1.6/lib//libwtc8.sl
dynamic /usr/lib/librt.2
dynamic /usr/lib/libpthread.1
dynamic /usr/lib/libnss_dns.1
dynamic /usr/lib/libdld.2
dynamic /usr/lib/libm.2
dynamic /usr/lib/libc.2
shared library binding:
I have mounted ORACLE_HOME on a HP UNIX 11i in a different
ORACLE_HOME. libjava.sl on HP UNIX 11 box is under:
cd /oracle8/oracle8app/jre/1.1.8/lib/PA_RISC/native_threads
ls -al libjava.sl
-rwxr-xr-x 1 oracle8 oinstall 1675264 Aug 8 2001 libjava.sl

I have set SHLIB_PATH=/oracle8/oracle8app/jre/1.1.8/lib/PA_RISC/native_threads:/oracle8/oracle8app/8.1.6/lib32:/oracle8/oracle8app/8.1.6/lib

on HP UNIX 11i box.

When I run svrmgrl, I get following error:

Oracle Server Manager Release 3.1.6.0.0 - Production

Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.

/usr/lib/dld.sl: Can't open shared library:
/local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
/usr/lib/dld.sl: No such file or directory
/usr/lib/dld.sl: Can't open shared library:
/local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
/usr/lib/dld.sl: No such file or directory
ORA-12547: TNS:lost contact
SVRMGR>

Why is that? When the shared library is shown as dynamic, why it is
not picked in a different location as specified by SHLIB_PATH.

Any help will be appreciated.


Thanks,

Prem
Reply With Quote