ibus-rime icon indicating copy to clipboard operation
ibus-rime copied to clipboard

rime_deployer symbol lookup error

Open renkun-ken opened this issue 8 years ago • 6 comments

I use Ubuntu 16.04.2 and install ibus-rime from official repo and it works smoothly for long. But recently, it is suddenly broken. I can switch to rime on the tray icon but nothing more happens and the input box does not appear any more.

I tried reinstall ibus-rime but it does not solve the problem.

I can't see any error message from it until I run rime_deployer and find it says

$ rime_deployer
rime_deployer: symbol lookup error: /usr/lib/librime.so.1: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E

Any idea how I can fix this?

renkun-ken avatar Mar 26 '17 02:03 renkun-ken

The missing symbol is from yaml-cpp library: https://launchpad.net/ubuntu/+source/yaml-cpp

lotem avatar Mar 28 '17 05:03 lotem

I installed libyaml-cpp-dev and it still does not solve my problem. Is there anything I can do with it?

renkun-ken avatar Mar 28 '17 07:03 renkun-ken

The *-dev package is for development, not helpful. The problem reside in the yaml-cpp package. I noticed that there are open bugs in https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1646914 one of them reads

Ubuntu 16.04 package version contains improper API

This might be related to the bug you're experiencing. You may want to resort to installing from a PPA (in the comments of the bug) or from source code.

lotem avatar Mar 28 '17 17:03 lotem

I use PPA provided by https://launchpad.net/~winterheart/+archive/ubuntu/openxcom and upgrade to the latest release but it still does not work sadly :(

renkun-ken avatar Mar 29 '17 02:03 renkun-ken

I figure out that this is caused by one of my .conf in ld.so.conf.d that directs to a folder where there's its own version of libyaml-cpp.so.0.5.

I remove the conf, then sudo ldconfig and rime says it is under mantainence but still ends up in an error. I find some errors and warnings:

W0330 12:15:04.282084 21629 customizer.cc:122] 'patch' not found in customization file.
W0330 12:15:04.347173 21634 customizer.cc:122] 'patch' not found in customization file.
W0330 12:15:04.403610 21634 deployment_tasks.cc:133] schema list not defined.
E0330 12:12:12.113315 21019 customizer.cc:56] Error loading config from './default.yaml'.
E0330 12:12:12.113381 21019 customizer.cc:56] Error loading config from './symbols.yaml'.
E0330 12:12:12.113409 21019 deployment_tasks.cc:127] Error loading default config from './default.yaml'.

renkun-ken avatar Mar 30 '17 04:03 renkun-ken

I remove ibus-rime and use fcitx-rime, still not working.

renkun-ken avatar Mar 30 '17 05:03 renkun-ken