[lazarus] problem with linking: gdk_pixbuf

Marco van de Voort marcov at stack.nl
Mon Oct 27 05:04:18 EST 2003


> > Check your -Fl options.
> > 
> > When building lazarus, it uses -Fl data in fpc.cfg,
> > while building _with_
> > lazarus it uses lazarus' library path?
  
> Well, modified fpc.cfg -Fl options (added
> /opt/gnome/lib which contains gdk-pixbuf libs), and
> now it works.  Still can't figure out how I can build
> lazarus ide without this  modification, while lazarus
> won't build my app... 

I assume adding those paths to some library path inside lazarus.

> Can you shed a light on this ?  Does the order of installing (I installed
> gdk-pixbuf last, after installing fpc and trying to compile lazarus) have
> an influence ?  

No. Those are all independant. If a package installs in a non default library,
this library has to be added.

> What about ld.conf.so ?

Very system dependant, in binary format. Maybe a future installer might want
to decrypt it, (or search for the hints file somewhere in /var).

I see ld.so.conf as gcc configuration, and fpc.cfg as fpc comfiguration
for this issue. If you want both compilers, you have to edit both(at least
for now)

> Anyhow, thanks for the help.  Lazarus is great !






More information about the Lazarus mailing list