• Philipp A. Baer
Bark Beetle (Scolytinae) Gallery

2005-07-30: Ubuntu: 32-bit apps on AMD64

Everybody who runs an AMD64 Linux system might have seen these errors before:

(firefox-installer-bin:1180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so: cannot open shared object file: No such file or directory

Fontconfig error: “conf.d”, line 1: no element found** (firefox-installer-bin:1180): WARNING **: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: ‘BasicScriptEngineFc’

I’m running Ubuntu Linux and it is quite well known that some 32-bit apps refuse to start on an AMD64 (x86_64) system. Recently I’ve found out how to get Acrobat Reader and VMware started, even with my native GTK2 theme.

After a system update yesterday, Firefox crashes far too often. It crashes (segfaults) everytime I reload a webpage. I assume that it is due to a system misconfiguration on my behalf. Don’t actually know.

Anyway, I wanted to install a new nightly snapshot of Firefox today. No chance. The only thing the firefox-installer program returns is a bunch of error messages (see above). After browsing some forums, mailing lists, and webpages, I finally found out how to get the 32-bit Firefox installed:

It is quite simple: In Ubuntu, there is a pango configuration directory for 32-bit modules in /etc/pango32/. Create a pangorc file in /etc/pango32/ with the following content:


[Pango]
ModuleFiles=/etc/pango32/pango.modules

[PangoX]
AliasFiles=/etc/pango/pangox.aliases

Unfortunately, the Pango modules in /usr/lib32/pango/1.4.0/ seem to be missing in Ubuntu (breezy). You’ll have to copy them from another 32-bit system.

Next, initialize the GTK\_PATH and PANGO\_RC\_FILE environment variables prior to running Firefox (or the firefox-installer):

export GTK_PATH=/usr/lib32/gtk-2.0/
export PANGO_RC_FILE=/etc/pango32/pangorc

That’s it. Firefox will start normally now — maybe with some additional warnings. I haven’t checked if Thunderbird can be installed this way, too. I nevertheless think so.

Update: Here’s a FAQ: http://wiki.debian.net/?DebianAMD64Faq

Update: Alexandre Strube told me that breezy actually contains all requires Pango libraries. Maybe I was missing something. On his system, however, some other funny phenomenon occurs — the buttons have no borders anymore:

Firwfox buttons vanish

CN: RoboCup2009

  • Third RR Group A
  • Second RR Group A
    • TU (12)
    • CN (6)
    • MRL (4)
    • Water (4)
    • MH (0)
  • First RR Group B
  • Wed, 01. July 2009
    • CN:HM0:0
    • CN:MRL – 0:3
    • CN:1.RFC1:4
  • Thu, 02. July 2009
  • Fri, 03. July 2009
    • CN:HKD – resigned
    • CN:Water – 1:0
    • CN:MH3:0
  • Sat, 04. July 2009
    • CN:MRL – 0:1
    • CN:TU0:3
    • CN:1.RFC1:3
    • CN:TU1:4
For all team-realted issues, please have a look at the Carpe Noctem Website.
For the current results, please have a look at Tech United's web page.