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: tnsping fails on libclntsh.so (Solaris)

Re: tnsping fails on libclntsh.so (Solaris)

From: ykhogaly <ykhogaly_at_us.oracle.com>
Date: Thu, 10 Feb 2000 09:11:09 -0700
Message-ID: <87unvg$fqd$1@inet16.us.oracle.com>


The "libm" library path "/usr/lib/libm.a" is the path that Oracle needs to use. If the environment variable LD_LIBRARY_PATH includes a directory before
 "/usr/lib" that contains a library "libm.a", this will be used instead of "/usr/lib/libm.a".

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib export LD_LIBRARY_PATH

Regards

<ggoodrum_at_my-deja.com> wrote in message news:87uhe7$aed$1_at_nnrp1.deja.com...
> Perhaps someone has seen this before. I have two Sun E-4000 hosts
> which I believe are running identical configurations of Solaris 2.5.1.
> Both have Oracle 8.0.5.2 installed, and both have the same
> tnsnames.ora. But on one host, tnsping works, while on the other host,
> tnsping fails to execute with this message:
>
> hous11;caper> tnsping capertst
> ld.so.1: tnsping: fatal: libclntsh.so.1.0: open failed: No such file or
> directory
> Killed
>
> I verified that PATH and LD_LIBRARY_PATH are the same on both hosts. I
> verified that libclntsh.so and libclntsh.so.1.0 exist on both hosts,
> and have the same permissions and the same contents on both hosts. I
> also verified that tnsping has the same permissions on both hosts, and
> that no other "tnsping" command existed elsewhere. All of the
> following yielded identical results on both hosts:
>
> hous11;caper> echo $PATH
> /home/user/caper/bin:/usr/local/bin:/usr/bin::/home/user/caper/bin:/usr/
> sbin:/us
> r/local/bin:/usr/ccs/bin:/usr/ucb:/home/user/caper/bin:/u00/app/oracle/p
> roduct/8
> .0.5.2/bin
>
> hous11;caper> echo $LD_LIBRARY_PATH
> /u00/app/oracle/product/8.0.5.2/lib
>
> hous11;caper> ls -l $LD_LIBRARY_PATH/libclntsh.so
> lrwxrwxrwx 1 oracle dba 16 Feb 4 11:09
> /u00/app/oracle/product/8.0.5.2/lib/libclntsh.so -> libclntsh.so.1.0
>
> hous11;caper> ls -l $LD_LIBRARY_PATH/libclntsh.so.1.0
> -rwxr-xr-x 1 oracle dba 6894704 Dec 15 17:05
> /u00/app/oracle/product/8.0.5.2/lib/libclntsh.so.1.0
>
> hous11;caper> sum $LD_LIBRARY_PATH/libclntsh.so.1.0
> 56794 13467 /u00/app/oracle/product/8.0.5.2/lib/libclntsh.so.1.0
>
> hous11;caper> ls -l $ORACLE_HOME/bin/tnsping
> -rwsr-s--x 1 oracle dba 99868 Dec 14 1998
> /u00/app/oracle/product/8.0.5.2/bin/tnsping
>
> hous11;caper> which tnsping
> /u00/app/oracle/product/8.0.5.2/bin/tnsping
>
>
> Does anyone have any ideas about what other differences I should look
> for?
>
> Thanks
> Glenn Goodrum
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Thu Feb 10 2000 - 10:11:09 CST

Original text of this message

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