zeus2615 / libgooglepinyin

Automatically exported from code.google.com/p/libgooglepinyin
0 stars 0 forks source link

libgooglepinyin.so.0: cannot open shared object file: No such file or directory #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fedora 15 x86_64 Xfce ibus 1.3.99.20110814

[byvoid@byvoid ~]$ /usr/share/ibus-googlepinyin/main.py
Traceback (most recent call last):
  File "/usr/share/ibus-googlepinyin/main.py", line 27, in <module>
    import factory
  File "/usr/share/ibus-googlepinyin/factory.py", line 22, in <module>
    import engine
  File "/usr/share/ibus-googlepinyin/engine.py", line 33, in <module>
    from googlepinyin import *
  File "/usr/share/ibus-googlepinyin/googlepinyin.py", line 14, in <module>
    ime_pinyin = ctypes.CDLL(ctypes.util.find_library('googlepinyin'), use_errno=True)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgooglepinyin.so.0: cannot open shared object file: No such file or 
directory

[byvoid@byvoid ~]$ ls /usr/lib/libgooglepinyin.so*
/usr/lib/libgooglepinyin.so    /usr/lib/libgooglepinyin.so.0.1.0
/usr/lib/libgooglepinyin.so.0

Original issue reported on code.google.com by byvo...@gmail.com on 7 Sep 2011 at 3:33

GoogleCodeExporter commented 9 years ago
呃,

麻烦看看 ls -lh /usr/lib/libgooglepinyin.so*

是不是 /usr/lib/libgooglepinyin.so.0 这个软链坏掉了

Original comment by jhuangjiahua@gmail.com on 7 Sep 2011 at 3:37

GoogleCodeExporter commented 9 years ago
謝,問題已經解决

Original comment by byvo...@gmail.com on 8 Sep 2011 at 4:05

GoogleCodeExporter commented 9 years ago
麻烦说下是怎么回事啦

真是 /usr/lib/libgooglepinyin.so.0 这个软链坏掉了?

Original comment by jhuangjiahua@gmail.com on 8 Sep 2011 at 7:35

GoogleCodeExporter commented 9 years ago
麻烦说下是怎么回事啦

真是 /usr/lib/libgooglepinyin.so.0 这个软链坏掉了?

Original comment by jhuangjiahua@gmail.com on 8 Sep 2011 at 7:36

GoogleCodeExporter commented 9 years ago
沒有執行 ldconfig

Original comment by byvo...@gmail.com on 8 Sep 2011 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by jhuangjiahua@gmail.com on 8 Sep 2011 at 7:54