How to recover after deleting the symbolic link libc.so.6?

前端 未结 8 2075
孤城傲影
孤城傲影 2020-12-24 13:12

In our server the symbolic link to libc.so.6 has been deleted. Now none of the binaries in the system work. To fix this, I tried:

/bin/ln -s /li         


        
相关标签:
8条回答
  • 2020-12-24 13:35

    Try:

    LD_PRELOAD=/lib/libc-2.17.so ln -s /lib/libc-2.17.so /lib/libc.so.6
    

    Note: The actual version depends on your library.

    0 讨论(0)
  • 2020-12-24 13:42

    Boot using a live cd like Knoppix or whatever and fix the missing link after mounting the disk with the "broken" system out of the running live system.

    0 讨论(0)
提交回复
热议问题