Operating System - HP-UX
1752595 Members
3475 Online
108788 Solutions
New Discussion

HPUX : /usr/lib/dld.sl: Can't open shared library: /usr/lib/libxti.2

 
UJOSHI
Occasional Contributor

HPUX : /usr/lib/dld.sl: Can't open shared library: /usr/lib/libxti.2

Hello Friends,

 

One of my HP rp74x0 got panic rebooted and after reboot, When i am entering root at Consoloe login it gives me below error:

 

Console Login: root
/usr/lib/dld.sl: Can't find path for shared library: libxti.2
/usr/lib/dld.sl: No such file or directory

 

Its not asking for password also, I tried to check whether libxti.2 in /usr/lib it is linked to /opt

 

lrwxr-xr-x   1 root       sys             44 Jun 17  2009 libxti.2 -> /opt/star-ncf-prod/ep_patch/usr/lib/libxti.2

 

This file /opt/star-ncf-prod/ep_patch/usr/lib/libxti.2 is not available even after mounting /opt in single user mode, what should i do next to make the server functioonal?

 

Is this problem with my kernel?

 

Nothing is hashed in my /etc/fstab.

The same problem occures when i am trying to boot from previous kernal ( vmunix.prev )

 

Please suggest me.

 

Thanks,

Uday

4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: HP-UX : dld.sl: Can't open shared library: /usr/lib/libxti.2

>/opt/star-ncf-prod/ep_patch/usr/lib/libxti.2 is not available even after mounting /opt

 

Are any of the path components there?

 

>The same problem occurs when I am trying to boot from previous kernel

 

This isn't going to make this path exist.

 

/opt/star-ncf-prod/ seems to be part of the Streams product:

Streams                               B.11.23        HP-UX Streams Product

UJOSHI
Occasional Contributor

Re: HP-UX : /usr/lib/dld.sl: Can't open shared library: /usr/lib/libxti.2

When i am in single user mode, and mount /opt. After /opt mounts it shows nothing.

Before that,  mount -a was giving error that unrecognised fs type, one of my colleague did mkfs -F vxfs to lv_opt and then mount.

 

What should i do now if /opt has no data and file /opt/star-ncf-prod/ep_patch/usr/lib/libxti.2

Patrick Wallek
Honored Contributor

Re: HP-UX : /usr/lib/dld.sl: Can't open shared library: /usr/lib/libxti.2

>>one of my colleague did mkfs -F vxfs to lv_opt and then mount.

 

That just blew away whatever was in /opt.  The mkfs command creates a NEW file system on a mount point.  

 

At this point you will need to restore all data in /opt as there is no way to recover.

Dennis Handly
Acclaimed Contributor

Re: HP-UX : dld.sl: Can't open shared library: /usr/lib/libxti.2

>Console Login: root
dld.sl: Can't find path for shared library: libxti.2

Root has no business using shared libs in its shell.

What is root's login shell?  Is it mistakenly using ksh instead of /sbin/sh?