gtk+-2.0.8 Won't Configure

drharlan at drharlan at
Fri Nov 22 18:30:46 PST 2002

On 18 Nov, To: blfs-support at wrote:
> On 18 Nov, Tushar T wrote:
>> drharlan at wrote:
>>>checking for pango_context_new in -lpango-1.0... no
>>>configure: error:
>>>*** Can't link to Pango. Pango is required to build
>>>*** GTK+. For more information see
>> Check config.log, that will tell you the reason why it is failing.
> The only thing I found is this:
> configure:16602: checking Pango flags
> configure:16608: result: -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include   -Wl,--export-dynamic -L/usr/X11R6/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
> configure:16631: checking for pango_context_new in -lpango-1.0
> configure:16658: gcc -o conftest -g -O2 -Wall -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include   -I/usr/X11R6/include -L/usr/X11R6/lib conftest.c -lpango-1.0 -Wl,--export-dynamic -L/usr/X11R6/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0     >&5
> /usr/X11R6/lib/ undefined reference to `FT_Seek_Stream'
> /usr/X11R6/lib/ undefined reference to `FT_Get_Short'
> /usr/X11R6/lib/ undefined reference to `FT_Forget_Frame'
> /usr/X11R6/lib/ undefined reference to `FT_Access_Frame'
> /usr/X11R6/lib/ undefined reference to `FT_Get_Long'
> collect2: ld returned 1 exit status
> configure:16661: $? = 1
> configure: failed program was:
> #line 16638 "configure"
> #include "confdefs.h"
> So I'll continue tracking this down tomorrow.  Guess I need to
> find where the "FT_.." references belong.  Thanks, much.
> Wayne

This is a few days old, but I just want to report that I did get
gtk+-2.0.8 to finally configure.  Due to the 'unusual' paths of my
libs, I needed to set LDFLAGS="-I/usr/X11R6/lib -lfreetype" and that
did it.  Apparently ld couldn't find the freetype2 libraries even
though I had run ldconfig earlier.  The first thing I compiled against
gtk+-2.0.8 was gftp which went smoothly and I've already downloaded a
number of new packages using my blfs system with it.

By the way, I did some grepping in the binutils source, specifcally ld,
and I find that "lib_search_path" (if that's the correct one) is only
set to search /lib, /usr/lib, /usr/local/lib, but no mention of
/usr/X11R6/lib.  Is there a good reason why X11R6 isn't included ?


Wayne E. Harlan        drharlan at        510-797-4298

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list