Can't link to Pango while running configure for GTK+ 2.8.*
- From: Armaghan Mallik <amallik xerolabs com>
- To: gtk-list gnome org
- Subject: Can't link to Pango while running configure for GTK+ 2.8.*
- Date: Wed, 24 Aug 2005 15:26:17 -0700
Thanks in advance for helping with this, I looked through the list and didn't
find anything that would specifically address the issue that I am having though
others have reported the same error message the threads seem to have died off
without a resolution posted.
I am trying to install GTK+ 2.8.2 (had the same results with 2.8.0 as well) on a
slamd64 system and have gone through and installed the following libraries in
order:
1. LibSigC++ 2.0
2. ATK 1.10
3. GLIB 2.8.1
4. Cairo 0.9
5. Pango 1.10 ( ran configure --with-cairo )
When I now try to run the configure script for gtk+, I get the following error:
checking Pango flags... -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/local/include/cairo -Wl,--rpath
-Wl,/usr/lib64 -L/usr/local/lib -L/usr/lib64 -lpangocairo-1.0 -lpango-1.0
-lfreetype -lz -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
The config.log file has this error listed in it (relevant portion only):
configure:31492: result: -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/local/include/cairo -Wl,--rpath -Wl,/usr/li
b64 -L/usr/local/lib -L/usr/lib64 -lpangocairo-1.0 -lpango-1.0 -lfreetype -lz
-lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure:31536: gcc -o conftest -g -O2 -Wall -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/local/include/cairo
-I/usr/X11R6/include conftest.c -Wl,--rpath -Wl,/usr/lib64 -L/usr/local/lib
-L/usr/lib64 -lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 >&5
/usr/local/lib/libpangocairo-1.0.so: undefined reference to
`pango_fc_font_create_metrics_for_context'
collect2: ld returned 1 exit status
configure:31542: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gtk+"
| #define PACKAGE_TARNAME "gtk+"
| #define PACKAGE_VERSION "2.8.2"
| #define PACKAGE_STRING "gtk+ 2.8.2"
I have tried removing pango entirely from the system and then re-installing it
with the same results everytime. pkg-config finds all three, pango, pangocairo
and cairo without a problem. My hunch is that the issue lies with ld.so somehow
not being able to resolve the cairo library for pangocairo somehow. Any ideas
on how I can set this up properly would be a great help.
Thanks again for looking through this, if there is anything else that is needed
please let me know and I will do my best to give you the information you need.
Thanks,
Armaghan Mallik
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]