Accidentally deleted symlink libc.so.6 in CentOS 6.4. How to get sudo privilege to re-create it?
- by Eric
I accidentally deleted the symbol link /lib64/libc.so.6 - /lib64/libc-2.12.so with
$ sudo rm libc.so.6
Then I can not use anything including ls command. The error appears for any command I type
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
I've tried
$ export…