Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: error while loading shared libraries
"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 Fri Sep 07 2001 - 17:23:01 CDT