Other Ubuntu tips

Upon upgrade to Ubunt 9.10 (Karmic Koala) the libstdc++.so.5 library was removed, which breaks compatibility with older apps. When trying to run such an app, you will get an error:

error while loading shared libraries: libstdc++.so.5: cannot open shared object file:
No such file or directory

To fix, on a 64-bit system:

$ cd tmp
$ wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb
$ dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs
$ sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/
$ cd /usr/lib32
$ sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5


.