At the beginning I tried to fix the problem of /lib/ld-linux-so.3:No such file or directory when I tried to run some dynamically cross-compiled binaries. So I added some shared binaries to /lib. I changed or deleted some important files in /lib. I know it seems silly.
Now the problem is whenever I want to run an executable binary I get this error:
Error while loading shared libraries:libgcc-s.so.1:cannot open shared object file: No such file or directory.
I have copied libgcc-s.so.1 to /lib from somewhere else.
Would anyone give some suggestion to fix /lib? Something to update or install it again?
Thanks.