Operating System - HP-UX
1777029 Members
2047 Online
109062 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

Peter Godron
Honored Contributor

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

Bruno,
chnage
export SHLIB_PATH=$ORACLE_HOME/lib
to
export SHLIB_PATH=$ORACLE_HOME/lib:/usr/lib

Please update with feedback.
Bruno Arruda
Occasional Advisor

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

the correct version is Oracle Forms and Reports services 10g (9.0.4.0)

i tried to install again with this variables

export ORACLE_HOME=/tools/oracle/dev10g
export ORACLE_SID=
export SHLIB_PATH=$ORACLE_HOME/lib32:/usr/lib
export LD_LIBRARY_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

but failed again...

:(

MAUCCI_2
Frequent Advisor

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

Hmm, very strange to have 777 on libc.2
What other strange things do you have on your system?

What is your system? (uname -a)
What version of libc.2 do you have? (what /usr/lib/libc.2)
Can you try use tusc in order to see what's going wrong with opening this lib?

-Cyrille
Bruno Arruda
Occasional Advisor

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

do you know where i can download the tusc?

thanks
MAUCCI_2
Frequent Advisor

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

Since this is open source, you can get it from Porting And Archiving Center for HPUX
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/

++Cyrille
Daniel Godoy_1
New Member

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

Hi, the problem is with an OS Patch, looking through metalink you can found the following Note: 388345.1, it says:

1. Deinstall the patch PHSS_33037
2. Install patch PHSS_33035