Home » Infrastructure » Linux » libclntsh.so.10.1 error loading shared libraries
libclntsh.so.10.1 error loading shared libraries [message #189123] Wed, 23 August 2006 05:03 Go to next message
AnnaC
Messages: 4
Registered: August 2006
Location: UK
Junior Member
This is driving me nuts!

We have a brand new box which has had Oracle 10g loaded alongside Linux. An Oracle user has been set up and it's fine. They (the linux guys) have just set up a new user for one of our systems as I dont want people logging in as Oracle left, right and centre. The user is DEV1.

When I try to do the command
exp help=YES (as DEV1) I get the following;

exp: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

DEV1's profile I have set as
ORACLE_HOME=/vol1/oracle/product/10.2
LD_LIBRARY_PATH=$ORACLE_HOME/lib
(which seems fine)

I have had a look around the net and my main problem is I don't know exactly whats been run and loaded (due to the usual office crap that goes on here where people do what they like and dont tell anyone else)

Is there anything obvious I should be doing or is it something really silly which has been missed? (as you can tell I've been landed in it at the last moment)

Help!! Anyone, please!!

[Updated on: Wed, 23 August 2006 05:04]

Report message to a moderator

Re: libclntsh.so.10.1 error loading shared libraries [message #189174 is a reply to message #189123] Wed, 23 August 2006 08:47 Go to previous messageGo to next message
Frank Naude
Messages: 4581
Registered: April 1998
Senior Member
Please run the following commands from DEV1 and post the output:

env | grep ORA
env | grep PATH
ls -l $ORACLE_HOME/lib/libclntsh*

Re: libclntsh.so.10.1 error loading shared libraries [message #189176 is a reply to message #189174] Wed, 23 August 2006 08:58 Go to previous messageGo to next message
AnnaC
Messages: 4
Registered: August 2006
Location: UK
Junior Member
env | grep ORA

ORACLE_SID=comm
ORACLE_LIBRARY=/vol1/oracle/product/10_2/lib
ORACLE_BASE=/vol1/oracle
ORACLE_HOME=/vol1/oracle/product/10_2
-----------------------------------------------------
env | grep PATH

MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome/share/man
GNOME2_PATH=/usr/local:/opt/gnome:/usr
LD_LIBRARY_PATH=/vol1/oracle/product/10_2/lib
XNLSPATH=/usr/X11R6/lib/X11/nls
PATH=/home/speople/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:
/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/
bi:/vol1 /oracle/product/10_2:/vol1/oracle/product/10_2/bin:/
vol1/oracle/product/10_2/lib:/vol1/oracle/product/10_2/lib32
GTK_PATH=/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0
PKG_CONFIG_PATH=/opt/gnome/lib64/pkgconfig
ACLOCAL_PATH=/opt/gnome/share/aclocal
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/opt/gnome/share/info
----------------------------------------------------
last one - i get permission denied (hmmmmmmm, that doesnt sound right)

p.s. now checking with linux guys how user has been set up
p.p.s. sorry, my post made the forum go all funny

[Updated on: Wed, 23 August 2006 09:26]

Report message to a moderator

Re: libclntsh.so.10.1 error loading shared libraries [message #189190 is a reply to message #189176] Wed, 23 August 2006 10:09 Go to previous messageGo to next message
Frank Naude
Messages: 4581
Registered: April 1998
Senior Member
Please also post the output for:

ls -ld /vol1/oracle/product/10_2/lib
ls -ld /vol1/oracle/product/10_2
ls -ld /vol1/oracle/product
ls -ld /vol1/oracle
ls -ld /vol1
Re: libclntsh.so.10.1 error loading shared libraries [message #191057 is a reply to message #189190] Mon, 04 September 2006 05:13 Go to previous messageGo to next message
AnnaC
Messages: 4
Registered: August 2006
Location: UK
Junior Member
sorry for not answering soon (been really busy), it was the user set up, it wasnt part of the oracle group - and it now works ok!! (duh! lol)

Thank You for helping!!
Re: libclntsh.so.10.1 error loading shared libraries [message #394648 is a reply to message #189176] Sun, 29 March 2009 04:57 Go to previous messageGo to next message
ataufique
Messages: 79
Registered: November 2006
Member
Dear Forum moderator,

Thanks for keeping the history of messages, as it just helped
to solve my case.

Regards
Taufique
Re: libclntsh.so.10.1 error loading shared libraries [message #473685 is a reply to message #394648] Tue, 31 August 2010 03:23 Go to previous messageGo to next message
mzantsi
Messages: 4
Registered: August 2010
Location: South Africa
Junior Member
Hi

I am having the same error and trying to figure out how to fix it. I have also logged a SR with oracle waiting for someone to come back to me

I am running a ./postrootpatch.sh -crshome $ORACLE_HOME

and its failing here

Checking to see if Oracle CRS stack is already up...
Checking to see if Oracle CRS stack is already starting
/opt/oracle/app/oracle/product/10.2.0/crs/bin/crsctl.bin: error while loading shared libraries: libclntsh.so.10.1: cannot o pen shared object file: No such file or directory


my output is as follow:

[root@qzsbuatdbn1 scripts]# env | grep ORA
ORACLE_HOME=/opt/oracle/app/oracle/product/10.2.0/crs

[root@qzsbuatdbn1 scripts]# env | grep PATH
PATH=/opt/oracle/app/oracle/product/10.2.0/crs/OPatch:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr /local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/lib:/usr/lib64:/opt/oracle/app/oracle/product/10.2.0/crs/lib:/opt/oracle/app/orac le/product/10.2.0/crs/lib32

[root@qzsbuatdbn1 scripts]# ls -l $ORACLE_HOME/lib/libclntsh*
lrwxrwxrwx 1 root root 17 Aug 26 14:54 /opt/oracle/app/oracle/product/10.2.0/crs/lib/libclntsh.so -> libclntsh.so.10.1
-rwxr-xr-x 1 oracle root 21188381 Aug 26 14:53 /opt/oracle/app/oracle/product/10.2.0/crs/lib/libclntsh.so.10.1
Re: libclntsh.so.10.1 error loading shared libraries [message #473689 is a reply to message #473685] Tue, 31 August 2010 03:34 Go to previous messageGo to next message
mzantsi
Messages: 4
Registered: August 2010
Location: South Africa
Junior Member
Hi what was the solution to this problem, as I am having the exact same error
Re: libclntsh.so.10.1 error loading shared libraries [message #473692 is a reply to message #473689] Tue, 31 August 2010 03:37 Go to previous messageGo to next message
Michel Cadot
Messages: 68722
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
AnnaC wrote on Mon, 04 September 2006 12:13
sorry for not answering soon (been really busy), it was the user set up, it wasnt part of the oracle group - and it now works ok!! (duh! lol)

Thank You for helping!!

Are you unable to read the answers?

Regards
Michel

Re: libclntsh.so.10.1 error loading shared libraries [message #473694 is a reply to message #473689] Tue, 31 August 2010 03:42 Go to previous messageGo to next message
mzantsi
Messages: 4
Registered: August 2010
Location: South Africa
Junior Member
anybody out there who can help me.
Re: libclntsh.so.10.1 error loading shared libraries [message #473695 is a reply to message #473692] Tue, 31 August 2010 03:48 Go to previous message
mzantsi
Messages: 4
Registered: August 2010
Location: South Africa
Junior Member
Hi am not sure what group you are talking about. here are the groups for Oracle user.
uid=506(oracle) gid=506(oinstall) groups=506(oinstall),507(dba),508(oper)

am I missing something?
Previous Topic: Install Oracle E-Business Suite on mandriva -domain name
Next Topic: Oracle 11gR2 on RHEL5 on Vmware
Goto Forum:
  


Current Time: Thu Dec 12 19:53:48 CST 2024