Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> cannot find library libclntsh.so.8.0

cannot find library libclntsh.so.8.0

From: <anilnadig_at_my-deja.com>
Date: Fri, 29 Sep 2000 20:13:44 GMT
Message-ID: <8r2t5g$evr$1@nnrp1.deja.com>

Hi,
  I'm using oracle on unix and i have a pro*C program. When i try to run the exe it gives me the following error . ld.so.1: /mkt/app/nonmon_d/nonmon_api/bin/nonmon_api: fatal: libclntsh.so.8.0: open failed:
No such file or directory

I have set the LD_LIBRARY_PATH properly and set the permissions on the exe to 4755 so that other users can also run the program. This problem occurs only when some other user tries to run the program.

When i did a ldd on the exe this is what the result was. $ ldd -s nonmon_api

   find library=libclntsh.so.8.0; required by nonmon_api     search
path=/usr/ucblib:/oracle/u000/oracle/product/v815/lib:/usr/ucblib/secure :/usr/lib
/secure:/opt/syncsort/lib:/opt/pvcs65/vm/solaris/lib/sparc/native_thread s (LD_LIBRARY_PATH)

    ignore path=/usr/ucblib (insecure directory name)     ignore path=/oracle/u000/oracle/product/v815/lib (insecure directory name)

    ignore path=/usr/ucblib/secure  (insecure directory name)
    ignore path=/opt/syncsort/lib  (insecure directory name)
    ignore path=/opt/pvcs65/vm/solaris/lib/sparc/native_threads
(insecure directory name)
    trying path=/usr/lib/secure/libclntsh.so.8.0
    search path=/usr/lib (default)
    trying path=/usr/lib/libclntsh.so.8.0
        libclntsh.so.8.0 =>      (file not found)

ignore path=/oracle/u000/oracle/product/v815/lib (insecure directory name)

This is because it recognizes only /usr/lib as a secure directory.

Any solutions for this is welcome.

Thanks
Anil

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Sep 29 2000 - 15:13:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US