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 -> Re: libnjni8.so - Can't find

Re: libnjni8.so - Can't find

From: Yass Khogaly <ykhogaly_at_us.oracle.com>
Date: Fri, 26 Nov 1999 07:47:50 -0800
Message-ID: <81m6fd$in7$1@inet16.us.oracle.com>


Problem Description:


  You have installed Oracle 8i 8.1.5. You try to run "netasst" and get the following error:

  ld.so.1:
/db/apps/oracle_8.0/jre/1.1.7/bin/../bin/sparc/native_threads/jre:   fatal: libnjni8.so: open failed: No such file or directory (libnjni8.so)

  java.lang.UnsatisfiedLinkError: getOracleHome

          at
oracle.net.asst.container.NetProperties.<init>(NetProperties.java:48)

          at
oracle.net.asst.container.NetContainer.<init>(NetContainer.java:243)

          at
oracle.net.asst.container.NetApplication.init(NetApplication.java:51)

  You are sure you have set the environment up correctly and have verified that the "LD_LIBRARY_PATH" is set. You have also verified that "libnjni8.so" exists
  in "$ORACLE_HOME/lib".

  If you run "dbassist" you see the same errors, but the missing library is "libJNLSLib3.so".

  Problem Explanation:


  "Netasst" child processes are using the wrong "LD_LIBRARY_PATH". The "LD_LIBRARY_PATH" is possibly incorrect in the non-interactive portion of the
  ".kshrc" file.

  Solution Description:


  You need to set the "LD_LIBRARY_PATH" correctly.

  The child processes are using the wrong "LD_LIBRARY_PATH". Make sure the "LD_LIBRARY_PATH" is set correctly in the environment, .profile, or .kshrc.   Specifically check the non-interactive section in the .kshrc. Dbassist will give the same errors, but the library will be "libJNLSLib3.so".

  Solution Explanation:


  Once the "LD_LIBRARY_PATH" is set correctly, "libnjn8i.so" will be found.

"The Views expressed here are my own and not necessarily those of Oracle Corporation"

Leigh Warren <leighw_at_midsys.co.uk> wrote in message news:81lsjt$3e1$1_at_soap.pipex.net...
> Hi,
>
> I'm running netasst but I always get the error that it can't find the
> library libnjni8.so even though it is there (Solaris 2.5.1). Can anyone
> help?
>
> Leigh..
>
>
Received on Fri Nov 26 1999 - 09:47:50 CST

Original text of this message

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