SCIM

Differences between revisions 11 and 12
Revision 11 as of 2006-03-29 05:25:44
Size: 2840
Editor: cm61-18-176-102
Comment: Update REALbasic to 2006 as official site reports
Revision 12 as of 2006-03-29 05:31:08
Size: 3043
Editor: cm61-18-176-102
Comment: More discussion
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
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 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]. More discussions can be found in [https://launchpad.net/distros/ubuntu/+source/acroread/+bug/2246 LaunchPad.net] and [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323216 Debian bug tracking system].

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]. More discussions can be found in [https://launchpad.net/distros/ubuntu/+source/acroread/+bug/2246 LaunchPad.net] and [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323216 Debian bug tracking system].

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:

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.

Other packages that use SCIM

Official page

SCIM (last edited 2008-08-06 16:26:35 by localhost)