gtk2/glib2 compile problems

Net Llama! netllama
Mon May 17 11:38:50 PDT 2004


On Mon, 14 Oct 2002, David A. Bandel wrote:
> On Sun, 13 Oct 2002 20:26:11 -0700
> begin  "Net Llama!" <netllama at linux-sxs.org> spewed forth:
>
> > I'm attempting to build gtk2 on a bastardized Caldera box.  gtk2
> > requires glib2, atk, and pango.  I'm trying to build atk and the
> > configure process keeps bombing out with this error:
> > /usr/bin/ld: cannot find -lgobject-2.0
> > collect2: ld returned 1 exit status
> >
> > Unfortunately, i have gobject-2.0:
> > # locate gobject-2.0
> > /usr/lib/pkgconfig/gobject-2.0.pc
>
> what an odd name for a library.  All my shared object libraries look like:
> /usr/lib/libgobject-2.0.so.0
> /usr/lib/libgobject-2.0.so.0.0.6
> and/or symlinks to the above
>
> so on my system anyway, -lgobject-2.0, ld looks for libgobject-2.0

The .pc stuff is for pkg-config, so i'm not entirely sure that its a
library at all.   Turns out i think my build/install of glib2 is botched,
since libgobject-2.0.so should be a part of it.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com



More information about the Linux-users mailing list