1832455 Members
3384 Online
110043 Solutions
New Discussion

/usr/lib/dld.sl problem

 
Neeraj_8
Occasional Contributor

/usr/lib/dld.sl problem

Hello Everyone,

I'm facing problem with my applicaiton. let me try to explain the scenario -
we using HP-UX 11.0 oracle 8.1.7.4
now here we applied some pathces for oracle upgrade to 9.2.0.4
still Oracle 9.2.0.4 exes has not been deployed.

now so the current env is HPUX 11.0 oracle 8.1.7.4 with some Patches- 64 bit.

now there are two problem scenarios
1. we have one exe of which s-bit is set.
its envoked by external user. the problem is exe is not completing its execution. when I traced stderr it said
"/usr/lib/dld.sl: Can't open shared Library: /opt/tuxedo/lib/libengine.sl"
"/usr/lib/dld.sl: No such file or directory"

2. we hae one more exe of which s-bit is set envoked by external user.
here also it doesn't completes the the execution and comes out in between stating
"/usr/lib/dld.sl: Can't Open /neeraj/lib/libutil.sl"
"/usr/lib/dld.sl: No such file or directory"

there two thing need to know for you all -
in case 1 the tuxedo path exists where is in second case it doesn't exists, basically it /neeraj/lib exists in dev environment.the libutil.sl in test machine is actually located in /app/lib directory.

the workaround I did was created /neeraj/lib directory and created link for /app/lib/libutil.sl

the common is /usr/lib/dld.sl so I call this "/usr/lib/dld.sl" problem. surely patches has spolied the game coz it was going on fine before.

Can any one tell me or give an idea how to fix this problem. what is causing /usr/lib/dld.sl to not finding the correct path of desired libs in between of execution.

I hope my question is clear.

Quick Response is expected

Neeraj
5 REPLIES 5
Robert_Jewell
Honored Contributor

Re: /usr/lib/dld.sl problem

It is possible that your shared library path is not set.

Try the following:

$export SHLIB_PATH=$SHLIB_PATH:/usr/lib

-Bob
----------------
Was this helpful? Like this post by giving me a thumbs up below!
Dave Hutton
Honored Contributor

Re: /usr/lib/dld.sl problem

Neeraj did you apply this patch by chance?
# PHSS_30969 ld(1) and linker tools cumulative patch

Dave Hutton
Honored Contributor

Re: /usr/lib/dld.sl problem

Sorry for the two posts. Was planning on pointing you to a doc which I can't find now.

We had the same problem with the patch I posted above. Theres an 11.11 equiv patch too. I opened a ticket with HP a week or two back.

Basically what I found was no matter what my SHLIB_PATH was set to I would get these types of errors. (on older type applications PVCS and an Oracle Web server related bin).

To explain on how we came up with this, is if we chatr -s enable the program would work, what I didn't notice originally that it stripped the setuid bit on the files that I needed them to have. So as soon as I would suid on the bins they would break again. I came across a post in the forums that talked about the patch I mentioned, so thats how I knew what might be the offending patch. I swremoved this patch and things are working again.

Hopefully this helps.



Neeraj_8
Occasional Contributor

Re: /usr/lib/dld.sl problem

David,

Sorry to get back to you at this late.

As I mentioned above as pathces were applied in order to upgrade oracle.from 8i to 9i.

We removed PHSS_30969 and saw that application is behaving fine with 8i. but how is the behaviour with 9i after this. Any idea??

waiting for quick response.

Neeraj
Neeraj_8
Occasional Contributor

Re: /usr/lib/dld.sl problem

sorry it was it was for Dave instead fo David.