[Pkg-ia32-libs-maintainers] Bug#496248: Bug#496248: ia32-apt-get: not fixed

Goswin von Brederlow goswin-v-b at web.de
Thu Jul 23 07:14:07 UTC 2009


Michal Suchanek <hramrach at centrum.cz> writes:

> reopen 496248
>
> 2009/7/22 Goswin von Brederlow <goswin-v-b at web.de>:
>> Michal Suchanek <hramrach at centrum.cz> writes:
>>
>>> Package: ia32-apt-get
>>> Version: 22
>>> Followup-For: Bug #496248
>>>
>>>
>>> AFAIK this capapbility is enabled by sgim-gtk2-immodule which has the
>>> same package name for 32bit and 64bit so only one can be installed at a
>>> time.
>>
>> Please add the following line to /etc/ia32-libs-tools/rename.list:
>>
>> scim-gtk2-immodule      +
>>
>> After that and ia32-apt-get update there will be an
>> ia32-scim-gtk2-immodule with
>>
>> -rw-r--r-- 1 root root 129K May  1 05:14 /usr/lib32/gtk-2.0/2.10.0/immodules/im-scim.so
>>
>> Please let me know if that fixes the problem completly or if something
>> more needs to be done.
>>
>
> It somehow does not work:
>
> (firefox-bin:22054): Gtk-WARNING **:
> /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so: wrong ELF class:
> ELFCLASS64
>
> (firefox-bin:22054): Gtk-WARNING **: Loading IM context type 'scim' failed
>
> (thunderbird-bin:23565): Gtk-WARNING **:
> /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so: wrong ELF class:
> ELFCLASS64
>
> (thunderbird-bin:23565): Gtk-WARNING **: Loading IM context type 'scim' failed

/usr/lib32/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules
has to be adjusted to use /usr/lib32/...

As a quick fix you can create
  /usr/lib/ia32-libs-tools/hooks/scim-gtk2-immodule.hook
containing:

#!/bin/sh
sed -i 's,/usr/lib/,/usr/lib32/,' usr/lib32/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules

> Also you will likely want all the immodules.
>
> uim-gtk2.0
> scim-gtk2-immodule
>
> I am not sure how the qt stuff works but there are many more for qt:
>
> uim-qt
> uim-qt3
> gcin-qt3-immodule
> gcin-qt4-immodule
> scim-qtimm
>
> Thanks
>
> Michal

They probably all need the same hook script too.

MfG
        Goswin





More information about the Pkg-ia32-libs-maintainers mailing list