-1

I have deleted an important file named ld-linux-x86-64.so.2 using rm command. So I can't execute shell commands. and I only can execute builtin commands.

Now I don't know What is should do. please help.

through this question let me say you i have busybox.

PooiaFerdowsi
  • 11
  • 1
  • 7

1 Answers1

1

I encountered the same problem and finally managed to solve the problem without booting from USB or another. The machine is a Linux machine on AWS.

Run the following command to recreate the symbolic link file ld-linux-x86-64.so.2

(You may need to change the version number 2.31, you can autocomplete it by pressing tab)

/lib/x86_64-linux-gnu/ld-2.31.so /bin/ln -s /lib/x86_64-linux-gnu/ld-2.31.so /lib64/ld-linux-x86-64.so.2
Cactus
  • 11