Operating System - HP-UX
1753513 Members
5573 Online
108795 Solutions
New Discussion

Wait reason / Blocked on: OTHER

 
moff
Occasional Advisor

Re: Wait reason / Blocked on: OTHER

Hi Dennis,
SHLIB_PATH was previously unset, although on some of our servers we're also running Oracle DB and on those it was set to the Oracle lib path only.

To get my app to work now I have set or appended /usr/lib/hpux64 to the SHLIB_PATH

$echo $SHLIB_PATH
sh: SHLIB_PATH: Parameter not set.
[... run application - it doesn't work ...]
$export SHLIB_PATH=/usr/lib/hpux64
$echo $SHLIB_PATH
/usr/lib/hpux64
[... run application - it does work ...]


As you say, it's working now so it's not the end of the world if I can't get to the bottom of this.
I'd just like to understand what's changed, because from my PoV I'd done nothing and it went from working to broken, and I know computers are logical beasts that will generally only do what they've been told to :)
Dennis Handly
Acclaimed Contributor

Re: Wait reason / Blocked on: OTHER

>SHLIB_PATH was previously unset

If unset it may look at the embedded path, which may now be wrong.

>To get my app to work now I have set or appended /usr/lib/hpux64 to the SHLIB_PATH

You shouldn't have to append it, since that is the default.

sh: SHLIB_PATH: Parameter not set.
[... run application - it doesn't work ...]

You could use ldd(1) to determine which shlib is different.