[lazarus] Another on of those bloody newbies :)

Andrew Johnson aj_genius at hotmail.com
Mon Sep 23 22:46:06 EDT 2002

On Tue, 24 Sep 2002 13:13:01 +1200
"Peter Oosterman" <pooster at e3.net.nz> wrote:

>Lazarus compiles, but linking fails with: libgdk-pixbuf not found
this means that the linker can't find the library in the search path(not 
that it isn't installed persay)

>I hunted down gdk-pixbuf-0.5.0-1.i386.rpm and installed it with
>rpm --install --force gdk-pixbuf-0.5.0-1.i386.rpm
>(kpackager would let me install it saying it was an old version)
>It copied its files to the locations it said it would.

wow.. 0.5!! thats a MAJORLY old version.. the library version expected is 
0.16.0 or greater which can be gotten from the Gnome Download site or 
mirrors. And you probably had a compatible version already installed based 
on the package error.

>but the problem remains.
AFAIK the RPM installs into /usr, /usr/lib etc, which is the default search 
path on any system.. for the most part anyhow.. So I would suggest adding 
/usr/lib to the library path.  I would also def. Suggest you get a good 
version from the gnome ftp site, such as the 0.18 version, but Otherwise I 
am clueless.

>Also, if i try compiling without the pixbuf lib [...]

>it complains about PIMAGE not vaild (or something to that effect)

This was as a result of a last minute change in the design of my code from 
the last patch. I will have it fixed next time I send a Patch in, but that 
will be over a week probably. So to fix this yourself(IF you can't get 
Pixbuf working) Open lazarus/lcl/interfaces/gtkwinapi.inc, and on line 1017 
change PImage, to PGDKIMage and on line 1083 change Result := , to Pixel := 

Sorry your having such issues. Hope this helps.


Send and receive Hotmail on your mobile device: http://mobile.msn.com

More information about the Lazarus mailing list