Operating System - HP-UX
1825766 Members
2068 Online
109687 Solutions
New Discussion

how can recover libc.so.1 from the OS CD

 
whiteSox
Frequent Advisor

how can recover libc.so.1 from the OS CD

Hi,

can any please tell me how can i recover
libc.so.1 from the OS cd .The libc.so.1 file is there but it was renamed to somthing else is there a way that i can recover the system to just rename the file i try and i get this error
# /usr/bin/cp /usr/lib/hpux32/libc.so.1_xxxx /usr/lib/hpux32/libc.so.1
/usr/lib/hpux32/dld.so: Unable to find library 'libc.so.1'.
thanks all for your help...
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: how can recover libc.so.1 from the OS CD

After you destroy the main C run-time
library, programs in /sbin may work better
than the usual ones. Is there a "/sbin/cp"?
(Or "/sbin/mv"? Or "/sbin/cat"? Or
something?)
whiteSox
Frequent Advisor

Re: how can recover libc.so.1 from the OS CD

none of the command works ..i am not sure what to do here ..
James R. Ferguson
Acclaimed Contributor

Re: how can recover libc.so.1 from the OS CD

Hi:

> none of the command works ..i am not sure what to do here ..

What, _exactly_ did you try and what, _exactly_ was the error you received?

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: how can recover libc.so.1 from the OS CD

Hi (again):

Did you try:

# /sbin/mv /usr/lib/hpux32/libc.so.1_xxxx /usr/lib/hpux32/libc.so.1


Regards!

...JRF...
V. Nyga
Honored Contributor

Re: how can recover libc.so.1 from the OS CD

Hi,

you can try to create a link.
You can try to recover from your (existing?) backups.
You can try to tar this file from another system and untar it at this one.

Volkmar
*** Say 'Thanks' with Kudos ***
whiteSox
Frequent Advisor

Re: how can recover libc.so.1 from the OS CD

James R. Ferguson ,

You are the MAN !!! Yes that worked ..
Thanks all for your help ....