[lazarus] missing -lgdk_pixbuf while compiling

Peter Vreman peter at freepascal.org
Thu May 8 04:49:52 EDT 2003

> Am Donnerstag, 8. Mai 2003 10:04 schrieb Peter Vreman:
>> > Hello,
>> >
>> > I installed the rpm packages of Lazarus on my SuSE 8.2. The IDE ist
>> > running well, but I can't compile even a small programm:
>> >
>> > /usr/bin/ld: cannot find -lgdk_pixbuf
>> >
>> > But gdk-pixbuf-0.18.0-233 ist installed on my system. What ist Lazarus
>> > missing?
>> You need to installed also the -dev (or -devel) package
> Hi all, I have the same problem with fpc1.1, fpc1.0.7, and fpc-cvs. The
> devel
> lib are al installed.
> a workaround is to compile lazarus with the -dNoGdkPixBufLib option.

This is not a fpc problem, the error is reported by the GNU linker.
Building a C program and linking with -lgdk_pixbuf will also fail.

You can search for libgdk_pixbuf.so or libgdk_pixbuf*.so to check if they
maybe renamed the file to some versioned library name.

More information about the Lazarus mailing list