Chinaunix首页 | 论坛 | 博客
  • 博客访问: 190387
  • 博文数量: 49
  • 博客积分: 3010
  • 博客等级: 中校
  • 技术积分: 505
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-12 14:36
文章分类

全部博文(49)

文章存档

2010年(6)

2009年(9)

2008年(10)

2007年(6)

2006年(18)

我的朋友

分类: LINUX

2008-08-12 23:29:07

openoffice不能调用SCIM的问题解决方法

$ oowriter
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就没有报错了。

阅读(876) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~