[UCLA-LUG] share library problem

Stefanus Mantik stefanus@CS.UCLA.EDU
Tue, 01 Feb 2000 15:38:04 -0800


Hi, I've got this share library problem:
when I try to run "svrmgrl" program, it gave me the following error:
   $ svrmgrl

   Oracle Server Manager Release 3.1.5.0.0 - Production

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

   oracleMTRC: error in loading shared libraries: libskgxp8.so: cannot open shared object file: No such file or directory
   oracleMTRC: error in loading shared libraries: libskgxp8.so: cannot open shared object file: No such file or directory
   ORA-12547: TNS:lost contact
   SVRMGR> 

I know that I already include the library path into my LD_LIBRARY_PATH
variable:
   $ echo $LD_LIBRARY_PATH
   /opt/oracle8.1.5/lib

and the libskgxp8.so library *does* exist in that dir.

This is the lib dependency produced by ldd:
   $ ldd svrmgrl
   libclntsh.so.8.0 => /opt/oracle8.1.5/lib/libclntsh.so.8.0 (0x40013000)
   libskgxp8.so => /opt/oracle8.1.5/lib/libskgxp8.so (0x4051c000)
   libdl.so.2 => /lib/libdl.so.2 (0x40524000)
   libm.so.6 => /lib/libm.so.6 (0x40527000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x40543000)
   libc.so.6 => /lib/libc.so.6 (0x40554000)
   /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Strangely, it works previously (before I rebooted the machine).
Also, there is another program, "lsnrctl" that *does not* work
before because of similar problem, but it *does* work now.

Here is the lib dependency for lsnrctl:
   $ ldd lsnrctl
   libclntsh.so.8.0 => /opt/oracle8.1.5/lib/libclntsh.so.8.0 (0x40013000)
   libskgxp8.so => /opt/oracle8.1.5/lib/libskgxp8.so (0x4051c000)
   libdl.so.2 => /lib/libdl.so.2 (0x40524000)
   libm.so.6 => /lib/libm.so.6 (0x40527000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x40543000)
   libc.so.6 => /lib/libc.so.6 (0x40554000)
   /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Any idea?

Thanks

Stefanus