Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 966
  • Last Modified:

Oracle11gR2: Linux 5.3: Error: Cannot load libary libclntsh.so, "libclntsh.so: cannot open shared object file:..."

Hello Experts,

I just installed Oracle11gR2 on Linux 5.3 32bit
Now, I am installing a Genesys component called dbserver (it is a daemon process to connect to Oracle) and I am getting the error below...

any ideas why, from the Oracle view, I am getting this error?

thanks
regards,
Cannot load libary libclntsh.so, "libclntsh.so: cannot open shared object file:

Open in new window

0
epifanio67
Asked:
epifanio67
  • 4
  • 3
1 Solution
 
slightwv (䄆 Netminder) Commented:
I have to ask:

Is the version of Genesys' dbserver you have certified with Oracle 11gR2?
0
 
epifanio67Author Commented:
thank you expert,

I believe it is certified to work with 11g... if it is not, then I have seen it working on some customers...

0
 
slightwv (䄆 Netminder) Commented:
My app layer in Oracle is pretty old but I believe they changed the object name in the newer releases.

Find the 'so' file for your install libclntsh.so.???  (where ??? is the version number for your install)

Then see if you can create a soft link to it and get dbserver to run.

See the example from the link below:
http://forums.oracle.com/forums/thread.jspa?threadID=843454
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
johnsoneSenior Oracle DBACommented:
It is possible that the library isn't in LD_LIBRARY_PATH.

If installed, you should be able to check which libraries an executable is trying to load with ldd.
0
 
epifanio67Author Commented:
thank you so much experts,

I have the .so files in the library (see below)... no sure if having a symbolic link will help...

but, I just noticed my LD_LIBRARY_PATH... is this supposed to be equal to:
ORACLE_HOME/bin
or
ORACLE_HOME/lib

???

thanks experts...

regards,


[oracle@oracle dbserver]$ locate libclntsh.so
/SHARE/database/stage/ext/lib/libclntsh.so.11.1
/installs/OracleInstallDisks/disk1/database/stage/ext/lib/libclntsh.so.11.1
/oracle/inventory/Scripts/ext/lib/libclntsh.so.11.1
/oracle/inventory/backup/2011-03-08_05-37-22AM/Scripts/ext/lib/libclntsh.so.11.1
/oracle/lib/libclntsh.so
/oracle/lib/libclntsh.so.10.1
/oracle/lib/libclntsh.so.11.1
[oracle@oracle dbserver]$ cat /etc/profile.d/oracle.sh
#!/bin/bash
export ORACLE_HOME=/oracle
export TMP=/oracle/tmp
export TMPDIR=/oracle/tmp
export ORACLE_BASE=/home/oracle/app/oracle
export PATH=/oracle/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/bin:$PATH

Open in new window

0
 
slightwv (䄆 Netminder) Commented:
Thanks for the points but I really don't deserve any. johnsone pointed out the path issue.

With your permission, I would like to reopen this so it can be closed properly.
0
 
epifanio67Author Commented:
sure...
0
 
epifanio67Author Commented:
thank you experts..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now