Sep
13th
Mon
13th
How to Fix error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Having an error ./compx: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory when trying to run a 32 bit program on a 64 bit Ubuntu machine?
If so do
sudo apt-get install ia32-libs
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
dpkg —extract libstdc++2.10-glibc2.2_2.95.4-24_i386.deb /tmp/libstdc
cd /tmp/libstdc
sudo mv /tmp/libstdc/usr/lib/* /usr/lib32/