chroot: error while loading shared libraries: /lib/libc.so.6: file too short
Hi,
I was trying to check the library 'libc.so.6' using VI editor on Debian OS. When I tried to close VI editor, it got stuck and When I restarted the system, I got this error chroot: error while loading shared libraries: /lib/libc.so.6: file too short Kernel panic: Attempted to kill init! Do I need to re-install the OS or is there any other method to overcome this problem. Does anyone know the solution? Please help me. Thanks in advance. Kind Regards, Ilyaz |
No need to reinstall, you can download the .deb from debian, extract it, take the file you want and put it in /lib
For this you need: ->To know which version of libc6 you have to take (ls /lib/libc* will tell you) Which release of debian do you have. ->An os that can write to your /lib, maybe a livecd Tell me if it goes well. |
Quote:
|
Quote:
Example on my machine (unstable): Code:
bork@freedom:/tmp$ ll /lib/libc.so.6 edit: ermm ar is maybe not present if there is no compilation suite (gcc,..). then dpkg or ark (kde default decompressor) |
I learn something new every day on LQ...
|
Thank you very much for your help.
|
All times are GMT -5. The time now is 07:33 AM. |