2011.3 Install Error on Ubuntu 11.10 ImportError: libssl.so.0.9.8: cannot open shared object file:

Asked by Rob Neff

Steps:
1. Installed Ubuntu 11.10 (clean)
2. Install OpenStack 2011.3 (Diablo)

Result from command:

$sudo aptitude install nova-api

Errors were encountered while processing:
 nova-common
 nova-api
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nova-common (2011.3-0ubuntu6.2) ...
Traceback (most recent call last):
  File "/usr/bin/nova-manage", line 80, in <module>
    from nova import crypto
  File "/usr/lib/python2.7/dist-packages/nova/crypto.py", line 36, in <module>
    import M2Crypto
  File "/usr/local/lib/python2.7/dist-packages/M2Crypto-0.21.1-py2.7-linux-x86_64.egg/M2Crypto/__init__.py", line 22, in <module>
    import __m2crypto
ImportError: libssl.so.0.9.8: cannot open shared object file: No such file or directory
dpkg: error processing nova-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nova-api:
 nova-api depends on nova-common (= 2011.3-0ubuntu6.2); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-api (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nova-common
 nova-api

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Rob Neff
Solved:
Last query:
Last reply:
Revision history for this message
Rob Neff (robpneff) said :
#1

Running locate showed I only had version 1.0.0.

$ 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 was able to get the older version and nova installed by running.

$sudo apt-get install libssl0.9.8

Hopefully, this doesn't lead to future problems.