Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django runserver error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

So yesterday I did a fresh install of Ubuntu11.10 but keeping my home directory with my virtualenvs, I installed virtual env and was able to logon my previous virtual env, but now when I try to run python manage.py runserver under the virtualenv I get the following error:

error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

Any idea how to fix this? I tried installing ssl package of python, but that didn't fix it.

like image 372
Sam Stoelinga Avatar asked Jan 23 '26 07:01

Sam Stoelinga


2 Answers

I had the same error installing OpenStack on Ubuntu 11.10.

Running locate showed I only had version 1.0.0 and not 0.9.8

$ locate libssl.so
/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0

I fixed it using:
$sudo apt-get install libssl0.9.8

like image 185
Neffster Avatar answered Jan 24 '26 21:01

Neffster


I fixed it by creating a new virtualenv and installing all packages again. It seems my old virtualenv was still linking to the ubuntu 11.04 general ssl package, but the location was updated.

like image 40
Sam Stoelinga Avatar answered Jan 24 '26 19:01

Sam Stoelinga



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!