Operating System - HP-UX
1837984 Members
2748 Online
110124 Solutions
New Discussion

10.20 can't open shared library

 
SOLVED
Go to solution
Jeremey Weeks
Occasional Advisor

10.20 can't open shared library

I'm getting this when attempting to run sam, swinstall, swlist and srvrmgrl. The server is production related and I'd rather not re-install the OS.
sam
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libC.1
/usr/lib/dld.sl: No such file or directory
/usr/sbin/sam[221]: 4362 Abort(coredump)
the lib files are gone, is it possible to copy them from a different server? I have another 10.20 machine running.
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: 10.20 can't open shared library

Yes, you can but because so many utilities depend upon libC this is tricky. You need to use only the utilities in /sbin. These are statically linked. Because you have a crippled system, it's probable that none of your network commands work. In your case, I would use tar to make a tape containing the needed files and then use /sbin/tar to install them.

Good luck, Clay
If it ain't broke, I can fix that.
Sanjay_6
Honored Contributor

Re: 10.20 can't open shared library

Hi Jeremy,

Does /usr/lib and /usr/share/lib exist. If not, you can try this,

export /usr/lib and /usr/share/lib from another system. Mount them on this local system at /usr/lib and /usr/share/lib respectively. See if sam works. If it works and if the directories /usr/lib and /usr/share/lib are missing on your system, copy them from the remote system.

Hope this helps.

regds