[lazarus] Error

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Nov 12 13:28:24 EST 2003


On Wed, 12 Nov 2003 18:31:39 +0100
h.rinker at freenet.de wrote:

> > this message go's all right. on my Suse 9 system this unit is
> > definitiv not
> > present
>[...]
> 
> now i can insert a button but when i compile i get the following error:
> 
> /usr/bin/ld: cannot find -lgtk
> Error: Error while linking
> 
> that's mystyrious because building lazarus works fine

AFAIK SuSE installs the gtk devel libs under /opt/gnome/lib, which is not in
the standard lib path. Simply add it to your /etc/fpc.cfg.
(-Fl/opt/gnome/lib).


Added to the FAQ.


Mattias






More information about the Lazarus mailing list