China-Spiner / ibus-cloud-pinyin

Automatically exported from code.google.com/p/ibus-cloud-pinyin
GNU General Public License v3.0
0 stars 1 forks source link

libibus.so.2 : No such file or directory #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I installed ibus-1.3.7 but i could found it nowhere. then I tried to compile   
cloud-pinyin and i received a mistake at the last step that said like the title 
while doing "make". My os is ubuntu 10.04 

Additional information below.
the compilation is below:

feng@feng-laptop:/usr/ibus-cloud-pinyin-read-only$ sudo make
:: Finding dependencies ...
    lua5.1: 5.1.4
    glib-2.0: 2.24.0
    gdk-2.0: 2.20.0
    gtk+-2.0: 2.20.0
    ibus-1.0: 1.3.7
    atk: 1.30.0
    gee-1.0: 0.5.0
    dbus-glib-1: 0.84
    libnotify: 0.4.5
    sqlite3: 3.6.22
make[1]: Entering directory `/usr/ibus-cloud-pinyin-read-only/src'
:: Generating C files for ibus-engine-cloud-pinyin ...
valac `cat valac-flags.txt` --pkg posix --thread --enable-checking --vapidir=. 
--disable-warnings  -C main.vala dbus-binding.vala pinyin-utils.vala 
frontend-utils.vala config.vala database.vala lua-binding.vala ibus-engine.vala
:: Patching C files (workaround for valac) ...
if ! grep -qe 'dbus_[^t]*thread' main.c; then sed -i 
's/gdk_threads_init/dbus_g_thread_init();gdk_threads_init/' main.c; fi
for i in *.c; do sed -i "s#@PREFIX@#/usr#g" $i; done
:: Building ibus-engine-cloud-pinyin ...
gcc `cat c-flags.txt` -pthread main.c dbus-binding.c pinyin-utils.c 
frontend-utils.c config.c database.c lua-binding.c ibus-engine.c -O3 -o 
ibus-engine-cloud-pinyin
main.c: In function ‘icp_main_main’:
main.c:105: warning: ignoring return value of ‘system’, declared with 
attribute warn_unused_result
make[1]: Leaving directory `/usr/ibus-cloud-pinyin-read-only/src'
make[1]: Entering directory `/usr/ibus-cloud-pinyin-read-only/src'
:: Generating C file for ibus-cloud-pinyin-request ...
valac `cat valac-flags-2.txt` --pkg posix --disable-warnings -C 
request-main.vala
:: Building ibus-cloud-pinyin-request ...
gcc `cat c-flags-2.txt` -Os -o ibus-cloud-pinyin-request request-main.c
make[1]: Leaving directory `/usr/ibus-cloud-pinyin-read-only/src'
:: Creating ibus compoment xml file ...

src/ibus-engine-cloud-pinyin: error while loading shared libraries: 
libibus.so.2: cannot open shared object file: No such file or directory
make: *** [cloud-pinyin.xml] Error 127
make: *** Deleting file `cloud-pinyin.xml'

Original issue reported on code.google.com by huishuf...@gmail.com on 6 Aug 2010 at 3:44

GoogleCodeExporter commented 9 years ago
ibus in Archlinux is still 1.3.6 currently.

I will try to fix this as soon as ibus in Archlinux upgrades to 1.3.7.

Original comment by arcpp.zju@gmail.com on 6 Aug 2010 at 3:50

GoogleCodeExporter commented 9 years ago
@ arcpp.zju

i compiled the source both 1.3.5 and 1.3.7 and succeeded, but i cannot run it 
now

Original comment by huishuf...@gmail.com on 6 Aug 2010 at 4:32

GoogleCodeExporter commented 9 years ago
Do you install libibus-dev correctly?

These files should exist:
/usr/lib/libibus.so.2
/usr/lib/libibus.so.2.0.0

And what do you mean by "succeeded", can you run "ibus-engine-cloud-pinyin -v" 
without errors?

Original comment by arcpp.zju@gmail.com on 7 Aug 2010 at 3:03

GoogleCodeExporter commented 9 years ago
Issue 22 has been merged into this issue.

Original comment by arcpp.zju@gmail.com on 15 Aug 2010 at 4:10

GoogleCodeExporter commented 9 years ago
1.3.7make不了 同样问题

Original comment by shizw2008@gmail.com on 31 Aug 2010 at 2:31

GoogleCodeExporter commented 9 years ago
看起来好像是缺少 libibus-dev 或者类似名字的软件包

Original comment by arcpp.zju@gmail.com on 23 Nov 2010 at 6:22