[Lazarus] Running Lazarus GTK1 (32bit) via a remote X11 from 64bit Linux

Joost van der Sluis joost at cnoc.nl
Mon Nov 24 12:23:12 CET 2008

Op maandag 24-11-2008 om 10:27 uur [tijdzone +0200], schreef Graeme

> I get the following error:
> -------------------------------
> graemeg at argon:~/programming$ ./lazarus.gtk1
> ./lazarus.gtk1: error while loading shared libraries:
> libglib-1.2.so.0: cannot open shared object file: No such file or
> directory
> -------------------------------
> The remote system is Ubuntu 8.04 LTS - 64bit.  Normally you can run
> 32bit software on a 64bit OS.

That's not true. If you want to do that you need an installation which
supports both environments. I don't know how debian/ubuntu handles this,
but I do know that it's different from Fedora which I know better.

>  But I'm not having any luck with
> Lazarus.

That's because you haven't installed a 32-bit version of gtk. 32-bit
Lazarus needs the 32-bits gtk-libraries. You have to install those.

On Fedora if you install a 32-bit package on a 64-bit system, it also
installs all 32-bit dependecies. I think Debian/Ubuntu does the same.
But if you really want to do everything manually, as you are trying to
do - you have to do this yourself. This mean you have to know how your
distribution handle things in detail - I whish you good luck. ;) 

> Is my only option to install GTK1.2 development packages on the remote
> server (which I didn't want to do) and do a 64bit compile of Lazarus
> IDE there?  Anybody know of some other way to get the 32bit Lazarus
> IDE to run on the 64bit Linux OS?

Yes, you need two copies of gtk to be installed on your system.


More information about the Lazarus mailing list