A quick solution is to install the libssl 0.9.8 package with the following command:
sudo apt-get install libssl0.9.8
Thanks to Rob who commented below and provided an answer on stackoverflow
I just upgraded from ubuntu 11.04 to 11.10 with a fresh install, by keeping my old home folder so not loosing my personal data, but only formatting the whole system partition. After reinstalling my most important development software I still couldn’t run django’s server. I kept getting the followering error:
error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory Also this error you will get: 1python: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
It seems this problem was because the virtualenv was still using the previous python libraries, which linked to a no longer there ssl package, what I did was create a new virtualenv and problem was solved. Anybody know a better way? Is there a way to update virtualenv to a new python version?