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

Home -> Community -> Usenet -> c.d.o.misc -> Re: error while loading shared libraries

Re: error while loading shared libraries

From: Vladimir M. Zakharychev <bob_at_dpsp-yes.com>
Date: Sat, 8 Sep 2001 19:25:58 +0400
Message-ID: <9ndd2u$qoh$1@babylon.agtel.net>


Slight correction:

it should be set to

$LD_LIBRARY_PATH:$ORACLE_HOME/lib

otherwise you'll lose everything that was on libpath before. Best way to do it is in .profile, so you'll get this env var set each time you logon.

-- 
Vladimir Zakharychev (bob@dpsp-yes.com)                http://www.dpsp-yes.com
Dynamic PSP(tm) - the first true RAD toolkit for Oracle-based internet applications.
All opinions are mine and do not necessarily go in line with those of my employer.


"Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote in message news:tpikt9gb1vk92e_at_news.demon.nl...

>
> "Matt Gross" <mg_redd_at_NOSPAMhotmail.NOSPAMcom> wrote in message
> news:9nasvk$1u76$1_at_nwall2.odn.ne.jp...
> > Hi Everyone,
> >
> > I just completed what I believed to be a successful install of Oracle 8i
> on
> > Redhat 7.1 (took forever to figure out). But I have run into one last
> > problem. When I typed "sqlplus <username>/<password>" at the bash prompt
> I
> > got the following response:
> >
> > sqlplus: error while loading shared libraries: libclntsh.so.8.0: cannot
> load
> > shared object file: No such file or directory
> >
> >
> > Further, when I tried to bring up netassistant I got the following
> response:
> >
> > $ libclntsh.so.8.0: cannot load shared object file: No such file or
> > directory (libnjni8.so)
> > Error loading native library: libnjni8.so.
> > java.lang.UnsatisfiedLinkError: jniGetOracleHome
> > at
> > at oracle.net.asst.container.NetUtils.getImageDirectory(Compiled
> > Code)
> > at oracle.net.asst.container.NetApplication.init(Compiled Code)
> > at
> > oracle.sysman.emSDK.client.appContainer.WebApplication.main(Compiled Code)
> >
> > Does anyone know what my problem might be? Thanks for the help
> >
> > Matt
> >
> >
> >
> >
> >
>
> You are missing the LD_LIBRARY_PATH env var.
> It *is* documented you need it.
> It should be set to $ORACLE_HOME/lib
>
> Hth,
>
> Sybrand Bakker, Senior Oracle DBA
>
>
>
Received on Sat Sep 08 2001 - 10:25:58 CDT

Original text of this message

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