On Sun, 16 Jul 2006 14:51:05 -0500, Bob Richards <[EMAIL PROTECTED]> wrote:

<snip>
I went back to the Lazarus source tree gmake clean; gmake and received
the following error:

  Free Pascal Compiler version 2.0.2 [2006/07/14] for i386
  Copyright (c) 1993-2005 by Florian Klaempfl
  Target OS: FreeBSD/ELF for i386
  Compiling lazarus.pp
  Linking ../lazarus
  /usr/bin/ld: cannot find -lgdk_pixbuf
  lazarus.pp(113,1) Error: Error while linking

a locate gdk_pixbuf finds: /usr/X11R6/lib/libgdk_pixbuf-2.0

So, at this point I just sym-linked my libgdk_pixbuf-2.0 to
libgdk_pixbuf: ln -s libgdk_pixbuf-2.0.a libgdk_pixbuf.a

and ran gmake again, only to produce:

Linking ../lazarus
/usr/home/bob/lazarus/lcl/units/i386-freebsd/gtk/gtkint.o(.text+0x6f65):
In function `DATASOURCEINITIALIZE':
gtkobject.inc:2309: undefined reference to `gdk_pixbuf_get_from_drawable'

Many many more "undefined reference" to something missing in  gdk_pixbuf.

libgdk_pixbuf-2.0 is a GTK2 stuff, not GTK1. If it's GTK1 (libgdk_pixbuf.a) is what you need, install graphics/gdk-pixbuf. The 'ln -s libgdk_pixbuf-2.0.a libgdk_pixbuf.a' is incorrect and will causing more break stuff.

so: freebsd's stock-installed gdk_pixbuf does not contain the functions
needed! So, I went to ports and found "ruby18-gdk_pixbuf2-0.14.1" a make
install provided "gdk_pixbuf2.so" but no "gdk_pixbuf2.a" !! I find it
odd that no provision is provided to link to this lib!

It is a Ruby binding, which it is not a gdk_pixbuf library that you are looking for.

Cheers,
Mezz


--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia  -  [EMAIL PROTECTED]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to