linux - deleted symlink sudo rm /lib64/libc.so.6, how to address it? -
i make mistaken delete libc.so.6 sudo rm /lib64/libc.so.6
.
os centos 6.4: linux k20-1 2.6.32-358.el6.x86_64 #1 smp fri feb 22 00:31:26 utc 2013 x86_64 x86_64 x86_64 gnu/linux
i try run following rebuild 1 sudo ld_preload=/lib64/libc-2.12.so ln -s /lib64/libc-2.12.so libc.so.6 sudo: error while loading shared libraries: libc.so.6: cannot open shared object file: no such file or directory
failed.
2 and, can not rebuild soft link also: [llf@k20-1 lib]$ sudo ln -sf /lib64/libc-2.14.so /lib64/libc.so.6 sudo: error while loading shared libraries: libc.so.6: cannot open shared object file: no such file or directory
3 use statically linked: [llf@k20-1 lib64]$ sudo /sbin/sln /lib64/libc-2.12.so /lib64/libc.so.6 sudo: error while loading shared libraries: libc.so.6: cannot open shared object file: no such file or directory
it's remote server, can not insert setup disk server set , restart computer. , not root, i have sudo privilege.
how address mistake? thanks!
Comments
Post a Comment