error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
It seems the softlink of the libstdc++.so.6
has been changed and is pointing to libstdc++.so.6.0.13
(64-bit?). I just changed the softlink by issuing the following command (in /usr/lib
folder):
rm -f libstdc++.so.6
ln -s ./libstdc++.so.6.0.8 ./libstdc++.so.6
I was having this problem running binaries compiled with g++ under a 64bit ubuntu 14.04 installation.
I installed g++-multilib and everything runs fine now
sudo apt-get install g++-multilib