问题描述:

I have followed the installation directions to install the GHMM library. However, I still get the following error:

Python 2.6.6 (Apr 11 2011, 15:50:32)

[GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import ghmm

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "ghmm.py", line 112, in <module>

import ghmmwrapper

File "ghmmwrapper.py", line 25, in <module>

_ghmmwrapper = swig_import_helper()

File "ghmmwrapper.py", line 17, in swig_import_helper

import _ghmmwrapper

ImportError: libghmm.so.1: cannot open shared object file: No such file or directory

I tried to change my LD_PRELOAD_PATH variable to /usr/local/lib to no avail.

Also, when I try to locate libghmm, I get the following, so the libraries are definitely there:

% locate libghmm

/usr/local/lib/libghmm.a

/usr/local/lib/libghmm.la

/usr/local/lib/libghmm.so

/usr/local/lib/libghmm.so.1

/usr/local/lib/libghmm.so.1.0.0

Any ideas?

相关阅读:
Top