SCIM

Revision 9 as of 2006-03-24 12:14:07

Clear message

SCIM is a GTK-based input method engine for inputting non-English / non-ASCII characters in a GNOME/GTK environment. There is a KDE frontend called skim.

Program crash when SCIM is running

The SCIM package has a gcc C++ ABI incompatibility problem when using with programs that are compiled with a different gcc version. This problem has been confirmed in the official SCIM Wiki [http://www.scim-im.org/wiki/faq/gtk_gnome/why_firefox_mozilla_acrobat_reader_7_other_gtk_2_based_apps_can_not_be_installed_started at here].

The problem became obvious when Ubuntu Breezy 5.10 was released. Since Breezy has migrated to gcc 4.x for compiling all packages in the distro, including SCIM of course.

Hence when SCIM is running, the following proprietary programs which are compiled with a different gcc version (most likely gcc 3.2) will crash at start:

  • RealPlayer 10

  • Adobe Reader 7
  • REALbasic 2005 for Linux

This has also plagued OSS packages that are compiled with an incompatible gcc version:

Workaround

Workaround in general

You can work around this problem temporarily, by exporting the following environment in command line:

export GTK_IM_MODULE=xim

Then start those applications manually.

Workaround for Firefox

For Firefox you can use the instruction above to bypass the problem, but SCIM will be disabled and it wouldn't serve the purpose. You can try to compile your own Firefox build, see CompileFirefoxNewVersion for further detail. Or you can try other third-party gcc4 compiled build such as [http://www.ubuntuforums.org/showthread.php?t=142798 Swiftfox].

Workaround for OpenOffice.org 2.x Linux binary from the official site

After installation is complete, first, you need to rename the standard C++ library (libstdc++) bundled to something else:

cd /opt/openoffice.org2.0/program
sudo mv libstdc++.so.6 libstdc++.so.6-bak

Then, create a symlink to the C++ library in the current Ubuntu system.

sudo ln -s /usr/lib/libstdc++.so.6

There you go, SCIM will be enabled again when you launch the official version of OpenOffice.org 2.x.

Official page