[lazarus] problem with linking: gdk_pixbuf

Marco van de Voort marcov at stack.nl
Sun Oct 26 08:44:48 EST 2003


> --- Florian Klaempfl <Florian.Klaempfl at gmx.de> wrote:
> > Joris Spriet wrote:
> > > Hi,
> > > 
> > > I've downloaded lazarus from cvs, and did a make
> > and
> > > it works fine; however, when I want to compile a
> > > project, I get an error while linking saying ld
> > cannot
> > > find gdk_pixbuf; which is kind of strange, as
> > lazarus
> > > itself was built without any problem.  There was a
> > > time when I had to build lazarus with
> > > OPT=-dNoGdkPixBufLib, but I've upgraded my system
> > > lately.  The error is literaly:
> > > 
> > > /usr/bin/ld: cannot find -lgdk_pixbuf
> > 
> > Install the developement package of of gdk_pixpuf.
> > 
> but I did that (version 0.18.0-223 to be precise); and
> now I can compile lazarus fine, but lazarus will not
> let me compile a project...

Check your -Fl options.

When building lazarus, it uses -Fl data in fpc.cfg, while building _with_
lazarus it uses lazarus' library path?






More information about the Lazarus mailing list