Howto: Komodo 3.5 on Ubuntu / AMD64
AMD64 Linux systems have always been hit and miss with Komodo, in a large part because we build 32-bit only, and some distros are better at providing 32-bit libs than others. Ubuntu is my current favorite distro for all sorts of reasons, but their AMD64 distro fails to run Komodo because the 32-bit libs they provide are not linked correctly ( to /usr/lib32 instead of /usr/lib ).
Well, thanks to this forum post that Shane pointed me to it is now possible to run Komodo on Ubuntu AMD64 with minimal effort ( and wicked speed ). Here is what you need to do:
1. create a pangorc file at /etc/pango32/pangorc
[Pango]
ModuleFiles=/etc/pango32/pango.modules
[PangoX]
AliasFiles=/etc/pango/pangox.aliases
2. create a small shell script to set up the 32-bit environment properly and start Komodo:
#!/bin/sh
export GTK_PATH=/usr/lib32/gtk-2.0/
export PANGO_RC_FILE=/etc/pango32/pangorc
/path/to/bin/komodo
Note: This trick still works for Komodo 4.1 and Ubuntu Feisty AMD64. And as a clarification, before doing the above steps you should run the following command as suggested in Robert's comment below:
sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11 linux32
Update: In order to get Komodo to debug php scripts on an AMD64 machine with a 64bit PHP binary, you will need to build xdebug on your machine. On most systems this shyould be as simple as running 'pecl install xdebug-beta'. Full installation instructions for xdebug can be found here:

Thanks dude!!
Posted by: phpcoder | February 02, 2006 at 03:19 PM
That's exactly what I was looking for, thanks a lot! Komodo is building the database now ;-)
Why don't you guys also provide 64-bit builds as well?
Posted by: Marius Scurtescu | February 15, 2006 at 10:22 PM
thanks guys a lot. this is what i needed. this is awsome.
Posted by: frank | February 16, 2006 at 12:41 PM
Ugh. Is there any hope at all of getting this to run under FC5 + AMD64? I have libgcc++ 6 installed. The compats are installed and the x11 depricated are installed... but can't seem to get it to stop screaming about libstdc++.so.5 Also could not find the link to the libccp3 version, is that not in Beta and why I can't find it?
Help?
Posted by: David DeMartini | April 27, 2006 at 05:27 PM
David:
The specific package you need to install is this one:
compat-libstdc++-33-3.2.3-55.fc5.i386.rpm
This is the 32-bit libstdc++ 5 package provided by FC5.
Posted by: jeffg | April 28, 2006 at 11:21 AM
Tried this on AMD64/Ubuntu 6.06.1 LTS (Dapper Drake) w/ Komodo 3.5.3
Still getting the following error:
error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Any ideas?
FWIW, I didn't have /etc/pango32, so I created the directory. Also created the pangorc but touched pango.modules...nothing in it though...
Do I need to ln something?
Posted by: Alan | September 12, 2006 at 12:09 PM
It sounds like you haven't installed the 32-bit GTK packages; I believe the package is called 'ia32-libs-gtk' or similar. Try searching in Synaptic for 'ia32'.
Posted by: jeffg | September 12, 2006 at 03:20 PM
These changes should not be required on newer versions of Ubuntu. I just installed on Ubuntu Edgy amd64 and it works fine as long as the ia32-libs- packages are installed. I believe this was resolved prior to Dapper, so the link to this page should probably be removed from the Komodo System Requirements page.
Posted by: Matt Good | January 30, 2007 at 09:42 AM
if you add this before the above it will create the required lib32 stuff like pango32
sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11 linux32
Posted by: Robert Wilde | February 20, 2007 at 04:31 PM
What about the PHP debugger?
It uses a shared library, which is injected into the PHP binary. But my PHP installation comes from Ubuntu, thus its compiled for AMD64... as opposed to that library. I think it won't work. If so, I must get a PHP compiled for 32-bit. And, if I use mod_php, which is a library too, 32-bit Apache copy also will be necessary. Plus all the Apache toys I use. Sucks...
Posted by: martin | June 18, 2007 at 04:09 AM
Whoops, I've just found out that that library is actually Xdebug, which is OpenSource, so I'll get its AMD64 copy, replace it and maybe it will work then. :-)
Posted by: martin | June 18, 2007 at 04:26 AM
Hi. How to run php debugger in lates Komodo 4.1 on AMD64 under Ubuntu Linux.
Posted by: Yaroslav | June 18, 2007 at 09:43 AM
@Yaroslav: I have update the post to include a link to instructions for building xdebug from source.
Posted by: jeffg | June 18, 2007 at 04:03 PM
There is no package called ia32-libs-gtk in ubuntu 7.04.so what shud be done in that case.it says it obsoleted or missing.i installed ia32-libs.still not working
Posted by: mahesh | October 23, 2007 at 12:25 AM
There is no package called ia32-libs-gtk in ubuntu 7.04.so what shud be done in that case.it says it obsoleted or missing.i installed ia32-libs.still not working
Posted by: mahesh | October 23, 2007 at 12:29 AM
Are you sure you have all of the package repositories enabled? ia32-libs-gtk is a standard package on Ubuntu AMD64 systems, it just isn't installed by default.
Posted by: JeffG | October 24, 2007 at 10:17 PM
The package is here, in 'universe'.
http://packages.ubuntu.com/feisty/libs/ia32-libs-gtk
Posted by: JeffG | October 24, 2007 at 10:21 PM