Hi guys,
I am currently switching from Windows to GNU/Linux. The bad habit of throw libs into system32 folder made me break the apt-get command.
I copied a library from my DEBIAN Lenny 32bit to my DEBIAN Lenny 64bit.
Code:
# scp root@DEBIAN:/usr/lib/libstdc++.so.6 .
After that, I got the error bellow when running apt-get install ...
Code:
apt-get: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS32
Could anyone help me with this?
I googled this but all the information is out of date or is wrong. However, too many people asked to run this commands. Hope will be useful for you:
Code:
# file /usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6: symbolic link to `libstdc++.so.6.0.10'
# file /usr/lib/libstdc++.so.6.0.10
/usr/lib/libstdc++.so.6.0.10: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Thanks in advance.