ANN: Python GUI development using XULRunner

support at support at
Wed Sep 17 22:12:49 CEST 2008

On Sep 17, 1:21 pm, Todd Whiteman <to... at> wrote:
> Don Spaulding wrote:
> > On Sep 16, 8:29 pm, Todd Whiteman <to... at> wrote:
> >> I've put together a tutorial that shows off how to build a GUI
> >> application using XULRunner (same architectural components as Firefox
> >> uses) that can be used in conjunction with the Python programming language.
> >> The tutorial covers how to build a Python/XULRunner GUI application:
> > I get to the "Running" step and run into "Couldn't load XPCOM."
> > Does this work on x86_64?  Or have I made a rookie mistake?
> Hi Don,
> A good question. Mozilla only provide 32-bit XulRunner applications by
> default, you you'll need to install the necessary 32-bit compatability
> libraries on your Linux machine, i.e. for Ubuntu it's something like:
> sudo apt-get install ia32-libs ia32-libs-gtk
> Then you should be able to run the example. You can check the
> dependencies using something the following commands, there should be no
> missing dependencies:
> $ cd pyxpcom_gui_app/xulrunner
> $ LD_LIBRARY_PATH=. ldd ./xulrunner-bin
> It is possible to use a 64-bit version, but you'll need to compile this
> yourself (or find somewhere that provides these x86_64 versions). Note
> that the PythonExt project does not offer Python bindings for x86_64
> either (it's on my todo list), you can compile the PythonExt part
> yourself as well if you need a 64-bit version.
> Cheers,
> Todd

Interesting, I'm running Ubuntu Intrepid here, and have both ia32-libs
and ia32-libs-gtk installed.

ldd shows that I'm missing the following libs, even though the proper
packages are installed, and the files show up in /usr/lib. => not found => not found

There's also /usr/lib/ and the same for render-
util, so I wonder if that could be part of the problem?


/me never knew how to get out of DLL hell on Windows either  ;-)

More information about the Python-list mailing list