In an effort to get Civ 5 running on my machine, I deleted libgcc_s.so.1 and the soft link libstdc++.so.6 which referred to libstdc++.so.6.0.19. This was a terrible idea and now I cannot run many programs such as Nautilus or apt-get. After restarting, I have no GUI, but I can access the console view.
To delete the files, I was running nautilus as superuser, and I used Ctrl-F to find the files and back them up to my desktop and move the originals to the trash. I thought that in the worst case scenario, I could copy the files back to the /lib/i386-linux-gnu/ directory. This worked for libgcc_s.so.1. However, when I try to copy the loft link libstdc++.so.6 I get the following error message.
cp: cannot stat ‘/libstdc++.so.6’: No such file or directory.
Potentially relevant is that the file is displayed in red in the console view. I understand that means it is an archive file, but I don't know what an archive file is and why I can't copy archive files.
Any solutions (reinstalling or replacing the files, etc.) which restore functionality will be greatly appreciated.