Skip to content

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

@linrio

Description

@linrio

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions