[Lazarus] Fedora 8 problem

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 28 01:01:00 CET 2008


On Thu, 27 Mar 2008 18:06:26 -0500
"ron schultz" <ronschultzster at gmail.com> wrote:

>[...]
> I added gd-devel-2.0.35-1.fc8.x86_64. That changed the error to "can
> not find -lgdk" I think that is what I did! But if I remove that
> package the error does not go back to
> /usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching
> for -lglib /usr/bin/ld: cannot find -lglib
> 
> I have reinstalled gd-devel-2.0.35-1.fc8.x86_64.
> I then added gkk-pixbuf-devel-1.0.22.0-35.fc8.x86_64. The error
> remains "can not find -lgdk".
> I then added gd-prog-2.0.35-1.fc8.x86_64. Same error.
> There are packages referring to glib and glib-devel and gtk+ that are
> not installed but they are i386 packages. I am assuming I do not need
> them.

Are you aware, that there two gtk versions? 1.2 and 2.
The 1.2 is more stable and therefore the default under lazarus.

I heard that FC8 no longer supports gtk1.2.
You can build the gtk2 lazarus:

Download lazarus from svn or tgz. For example:

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Downloading_Lazarus_SVN

You should now have the lazarus sources.
Now build the gtk2 IDE:
cd lazarus
export LCL_PLATFORM=gtk2; make clean all bigide


Mattias



More information about the Lazarus mailing list