Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-05

missing -lgdk_pixbuf while compiling

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Reinhard Niehoff: I installed the rpm packages of Lazarus on my SuSE 8.2. The IDE ist running well, but I…
Show quoted text 30 lines
Am Donnerstag, 8. Mai 2003 11:10 schrieb Peter Vreman: > > 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. > Hi again, I found a broken link and correct them to my environment: ln -s /usr/lib/libgdk_pixbuf-2.0.so.0.200.1 /usr/lib/libgdk_pixbuf.so

libgdk_pixbuf-2.0.so belongs to gtk2 not to gdk-pixbuf-devel.

Show quoted text 26 lines
then I compile lazarus and the following error occurs: Assembling lazarus Linking ./lazarus ./lcl/units/gtk/gtkint.o(.text+0x4687): In function `LOADFILE': gtkobject.inc:1405: undefined reference to `gdk_pixbuf_render_pixmap_and_mask'./lcl/units/gtk/gtkint.o(.text+0x4aea): In function `LOADDATA': gtkobject.inc:1503: undefined reference to `gdk_pixbuf_render_pixmap_and_mask'./lcl/units/gtk/gtkint.o(.text+0x123a4 ): In function `DATASOURCEINITIALIZE': gtkwinapi.inc:1098: undefined reference to `gdk_pixbuf_get_from_drawable'./lcl/units/gtk/gtkint.o(.text+0x12430):gtk winapi.inc:1085: undefined reference to `gdk_pixbuf_get_from_drawable' ./lcl/units/gtk/gtkint.o(.text+0x1d133): In function `SCALEBUFFER': gtkwinapi.inc:7425: undefined reference to `gdk_pixbuf_get_from_drawable' ./lcl/units/gtk/gtkint.o(.text+0x1d1fe):gtkwinapi.inc:7437: undefined reference to `gdk_pixbuf_render_pixmap_and_mask' lazarus.pp(316) Error: Error while linking Closing script ./ppas.sh make[1]: *** [lazarus] Fehler 1 make[1]: Leaving directory `/home/blgoeris/src/lazarus' make: *** [ide] Fehler 2 which version is the correct version of libgdk_pixbuf for use with lazarus?

Plz install apckage gdk-pixbuf-devel at least version 0.14. I will add this requirement to the next lazarus rpm. Probably I will update them next week.

Mattias

Reply by email

Peter Vreman
to Reinhard Niehoff: I installed the rpm packages of Lazarus on my SuSE 8.2. The IDE ist running well, but I…
Show quoted text 16 lines
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.

Reply by email

Reinhard Niehoff

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?

regards,
Reinhard

Reply by email

Siegfried Goericke
to Reinhard Niehoff
Peter Vreman wrote 24 lines
> 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.

Hi again,

I found a broken link and correct them to my environment:

ln -s /usr/lib/libgdk_pixbuf-2.0.so.0.200.1 /usr/lib/libgdk_pixbuf.so

then I compile lazarus and the following error occurs:

Assembling lazarus
Linking ./lazarus
./lcl/units/gtk/gtkint.o(.text+0x4687): In function `LOADFILE': gtkobject.inc:1405: undefined reference to `gdk_pixbuf_render_pixmap_and_mask' ./lcl/units/gtk/gtkint.o(.text+0x4aea): In function `LOADDATA': gtkobject.inc:1503: undefined reference to `gdk_pixbuf_render_pixmap_and_mask' ./lcl/units/gtk/gtkint.o(.text+0x123a4): In function `DATASOURCEINITIALIZE': gtkwinapi.inc:1098: undefined reference to `gdk_pixbuf_get_from_drawable' ./lcl/units/gtk/gtkint.o(.text+0x12430):gtkwinapi.inc:1085: undefined reference to `gdk_pixbuf_get_from_drawable'
./lcl/units/gtk/gtkint.o(.text+0x1d133): In function `SCALEBUFFER': gtkwinapi.inc:7425: undefined reference to `gdk_pixbuf_get_from_drawable' ./lcl/units/gtk/gtkint.o(.text+0x1d1fe):gtkwinapi.inc:7437: undefined reference to `gdk_pixbuf_render_pixmap_and_mask'
lazarus.pp(316) Error: Error while linking
Closing script ./ppas.sh
make[1]: *** [lazarus] Fehler 1
make[1]: Leaving directory `/home/blgoeris/src/lazarus' make: *** [ide] Fehler 2

which version is the correct version of libgdk_pixbuf for use with lazarus?

Gruss Siggi

Reply by email

Siegfried Goericke
to Reinhard Niehoff: I installed the rpm packages of Lazarus on my SuSE 8.2. The IDE ist running well, but I…
Peter Vreman wrote 14 lines
> 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.

Regards/Gruss Siggi

Reply by email