Page 1 of 1

How to fix error while loading shared libraries libc.so.6

Posted: 2019/10/19 11:34:53
by marbenoct2019
Hi All,
I renamed libc.so.6 to libc.so.6_old in /lib64 folder, now I can not
login, and none of the commandline is working.
I got these errors:
dracut sbin/load_policy/: error while loading shared libraries libc.so.6
error while loading shared libraries libc.so.6

I want to rename libc.so.6_old to libc.so to fix the error, but I can not
find libc.so.6_old anymore.

Please help.
I'm using centos 6.9


Best regards,
Marben

Re: How to fix error while loading shared libraries libc.so.6

Posted: 2019/10/19 14:05:58
by TrevorH
Boot from the install media in rescue mode - it's an option off the troubleshooting menu. Get it to mount your system partitions during the boot and then explore and find the file you renamed and rename it back.

Re: How to fix error while loading shared libraries libc.so.6

Posted: 2019/10/20 09:32:19
by marbenoct2019
Hi TrevorH,
It works!!!
I have lots of sleepless night figuring out
the solution of this problem.
Thank you very much.

Best regards,
Marben