I'm using 64-bit Crunchbang, which is Debian-based.
I was trying to fix a certain problem with libc6, and naively followed the advice of an askUbuntu answer (link) that made me run the following command:
sudo ln -sf /lib32/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6
Now I cannot run a single terminal command or GUI program. On terminal I get a plethora of errors. Here is ls
, for example:
ls: error while loading shared libraries: libs.so.6: wrong ELF class: ELFCLASS32
sed: error while loading shared libraries: libs.so.6: wrong ELF class: ELFCLASS32
/usr/bin/env: error while loading shared libraries: libs.so.6: wrong ELF class: ELFCLASS32
date: error while loading shared libraries: libs.so.6: wrong ELF class: ELFCLASS32
sed: error while loading shared libraries: libs.so.6: wrong ELF class: ELFCLASS32
GUI programs simply don't launch or give me strange errror messages.
In short, I have no way to delete the symlink that caused this catastrophe. What can I do to get my computer working again?