pigeond pigeond

pigeon's blog - the pigeon concerto in D minor

SCIM with 32-bit app on 64-bit system outside chroot
2009/05/14 19:37:00
linux

For those who need SCIM while running 32-bit apps on a 64-bit system outside chroot, there are two things (at least for me) needed.

Apart from the obvious that you need SCIM installed in the 32-bit chroot, you’ll need to set SCIM_MODULE_PATH to point to the 32-bit SCIM libdir. For instance, my iceweasel32 script looks like:

#!/bin/sh
export CHROOT=/chroot/testing.32

export GTK_PATH=${CHROOT}/usr/lib/gtk-2.0

export LD_LIBRARY_PATH=${CHROOT}/lib:${CHROOT}/usr/lib:/lib32:/usr/lib32

export SCIM_MODULE_PATH=${CHROOT}/usr/lib/scim-1.0

export MOZ_PLUGIN_PATH=${CHROOT}/usr/lib/mozilla/plugins

linux32 ${CHROOT}/usr/lib/iceweasel/firefox-bin "$@"

Secondly, you’ll need to add a symlink in /usr/lib32/gtk-2.0/2.10.0/immodules for the chroot’s /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so. Not the cleanest way I have to say, but it works.




Comments are closed.






blog top 24 tags
api bonding debian engrish fglive fgmap flightgear google ISP laptop lca2007 lca2008 linux live map mpserver navaids network qotd quote of the day taiwan vim windows wine
Search
 
Web pigeond.net









this site is
created with vim



nearly all pages in this site are validated as
Valid HTML 4.01!

css validated by
Valid CSS!


pigeond.net copyright 2001 - 2014
designed, created, and coded by pigeon at pigeond dot net
all rights reserved