Operating System - HP-UX
1753301 Members
6851 Online
108792 Solutions
New Discussion юеВ

Re: Can't open shared library: /usr/lib/libc.2

 
Bruno Arruda
Occasional Advisor

Can't open shared library: /usr/lib/libc.2


Hi People,

i'm installing Oracle Developer no HPUX 11i, when I tried to start OPMN i get this problem, anyone ever seen it ?

06/09/13 18:39:16 [2] libclntsh.sl dlopen failed:
Can't open shared library: /usr/lib/libc.2

thanks
15 REPLIES 15
IT_2007
Honored Contributor

Re: Can't open shared library: /usr/lib/libc.2

Check your SHLIB path and it may not be in your profile?

env command should you whether you have it or not.
Bruno Arruda
Occasional Advisor

Re: Can't open shared library: /usr/lib/libc.2

SHLIB=/usr/lib

??
IT_2007
Honored Contributor

Re: Can't open shared library: /usr/lib/libc.2

Is env command shows SHLIB path or not? didn't understand your question.
Bruno Arruda
Occasional Advisor

Re: Can't open shared library: /usr/lib/libc.2


I Didn't declared the variable SHLIB, only SHLIB_PATH.

I need to declare SHLIB ?

i will send the all error message with print screen on another message..


Tks
Bruno
IT_2007
Honored Contributor

Re: Can't open shared library: /usr/lib/libc.2

sorry. SHLIB_PATH not SHLIB. so what is it set to?
Bruno Arruda
Occasional Advisor

Re: Can't open shared library: /usr/lib/libc.2

This is the ALL error message, please help me.

root@rjux0045:/tools/oracle/dev10g/opmn/bin > ./opmnctl startall
opmnctl: starting opmn and all managed processes...
opmnctl: opmn start failed

root@rjux0045:/tools/oracle/dev10g/opmn/logs > more ons.log
06/09/13 19:47:16 [2] libclntsh.sl dlopen failed:
Can't open shared library: /usr/lib/libc.2
06/09/13 19:47:16 [1] SSL disabled
06/09/13 19:47:34 [2] libclntsh.sl dlopen failed:
Can't open shared library: /usr/lib/libc.2
06/09/13 19:47:34 [1] SSL disabled
06/09/13 19:55:25 [2] libclntsh.sl dlopen failed:
Can't open shared library: /usr/lib/libc.2
06/09/13 19:55:25 [1] SSL disabled
06/09/13 20:04:06 [2] libclntsh.sl dlopen failed:
Can't open shared library: /usr/lib/libc.2
06/09/13 20:04:06 [1] SSL disabled
06/09/13 20:04:43 [2] libclntsh.sl dlopen failed:
Can't open shared library: /usr/lib/libc.2
06/09/13 20:04:43 [1] SSL disabled
Bruno Arruda
Occasional Advisor

Re: Can't open shared library: /usr/lib/libc.2

the SHLIB_PATH is OK.
Yogeeraj_1
Honored Contributor

Re: Can't open shared library: /usr/lib/libc.2

hi,

you did not mention the version of Oracle Developer that you are trying to install.

According to the Docs (Oracle9i Application Server Release Notes), the environment variable:

SHLIB_PATH
should point to the directory where
libclntsh.sl

is found.

Normally, it should be $ORACLE_HOME/lib in the appropriate environment variable for your system.

please check!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Bruno Arruda
Occasional Advisor

Re: Can't open shared library: /usr/lib/libc.2

hi yogeeraj,

thanks for your help.

The version of Developer is 10g and the oracle is 9.2.0.6.

But when I start to install the Developer, I must set this variables:

export ORACLE_HOME=/tools/oracle/dev10g
export ORACLE_SID=
export SHLIB_PATH=$ORACLE_HOME/lib
export ORACLE_PATH=$ORACLE_HOME/bin
export PATH=$ORACLE_PATH:$PATH
export DISPLAY=172.20.1.197:0.0
export TERM=vt100

root@rjux0045:/ > find / -name libclntsh.sl -print
/tools/oracle/9.2.0.6/lib/libclntsh.sl
/tools/oracle/9.2.0.6/lib32/libclntsh.sl
/tools/oracle/dev10g/lib/libclntsh.sl
/tools/oracle/dev10g/lib32/libclntsh.sl

root@rjux0045:/ > ls -l /usr/lib/libc.2
-rwxrwxrwx 2 bin bin 1822720 May 6 2005 /usr/lib/libc.2

Do you have another tip?

tks
Bruno