Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo rm /lib64/libc.so.6 #1

Open
linrio opened this issue Nov 13, 2016 · 0 comments
Open

sudo rm /lib64/libc.so.6 #1

linrio opened this issue Nov 13, 2016 · 0 comments

Comments

@linrio
Copy link

linrio commented Nov 13, 2016

I make a mistaken that delete the libc.so.6 by sudo rm /lib64/libc.so.6.
I try to run

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

And, it can not rebuild the 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

How to address this mistake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant