openoffice不能调用SCIM的问题解决方法$ oowriter
QUOTE: Gtk-Message:
Failed to load module "gnomebreakpad":
/usr/lib/openoffice/program/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /usr/lib/bug-buddy/libbreakpad.so.0)
(soffice:27198): Gtk-WARNING **:
/usr/lib/openoffice/program/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /usr/lib/gtk-2.0/immodules/im-scim.so)
(soffice:27198): Gtk-WARNING **: Loading IM context type 'scim' failed
(soffice:27198): Gtk-WARNING **:
/usr/lib/openoffice/program/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /usr/lib/gtk-2.0/immodules/im-scim.so)
(soffice:27198): Gtk-WARNING **: Loading IM context type 'scim' failed
(soffice:27198): Gtk-WARNING **:
/usr/lib/openoffice/program/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /usr/lib/gtk-2.0/immodules/im-scim.so)
(soffice:27198): Gtk-WARNING **: Loading IM context type 'scim' failed
(soffice:27198): Gtk-WARNING **:
/usr/lib/openoffice/program/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /usr/lib/gtk-2.0/immodules/im-scim.so)
(soffice:27198): Gtk-WARNING **: Loading IM context type 'scim' failed
原因是OOo自带一个libstdc++和libgcc,和SCIM所编译的库版本不匹配。
做一个软链接就可以了:
# ln -sf /usr/lib/libgcc_s.so.1 /usr/lib/openoffice/libgcc_s.so.1
# ln -sf /usr/lib//libstdc++.so.6 /usr/lib/openoffice/libstdc++.so.6
再次终端运行oowriter就没有报错了。