0

我已按照安装说明安装 GHMM 库。但是,我仍然收到以下错误:

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

我试图将我的LD_PRELOAD_PATH变量更改/usr/local/lib为无济于事。

此外,当我尝试定位 libghmm 时,我得到以下信息,因此这些库肯定存在:

% 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

有任何想法吗?

4

0 回答 0