Recently I updated to Ubuntu 9.10 x64 and noticed that my hamachi stopped working. The following error appears when you try to launch it:
hamachi: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
It seems like the package libstdc++5 is removed from Ubuntu 9.10, as “apt-get install” does not install it. However, the solution exist. And it is very simple:
1. Download the package from http://packages.ubuntu.com/jaunty/i386/libstdc++5/download and save it somewhere
2. Extract it’s content into tmp folder:
dpkg-deb --extract libstdc++5_3.3.6-17ubuntu1_i386.deb tmp
3. Go to lib folder:
cd ./tmp/usr/lib
4. Copy file libstdc++.so.5 into /usr/lib32:
sudo cp libstdc++.so.5 /usr/lib32/
5. Make symbolic link from “libstdc++.so.5″ to point to a newly copied file:
sudo ln -s libstdc++.so.5 /usr/lib32/libstdc++.so.5
Run hamachi
Now it should work!