Re: libpangocairo-1.0.so: undefined reference to `pango_fc_font_map_cache_clear




robert wrote:

configure:31480: checking Pango flags
configure:31486: 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 -L/usr/local/lib -L/usr/local//lib -lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:31530: 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 -L/usr/local/lib -L/usr/local//lib
-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_map_cache_clear'
   /usr/local/lib/libpangocairo-1.0.so: undefined reference to
   `pango_fc_font_create_metrics_for_context'
   /usr/local/lib/libpangocairo-1.0.so: undefined reference to
   `pango_fc_font_map_get_type'
   /usr/local/lib/libpangocairo-1.0.so: undefined reference to
   `pango_fc_font_map_create_context'
   /usr/local/lib/libpangocairo-1.0.so: undefined reference to
   `pango_fc_font_get_type'
   collect2: ld returned 1 exit status
   configure:31536: $? = 1


Hi robert,

Iv'e just managed to build 2.8.6 myself and found that I needed the latest version of cairo at http://cairographics.org it has to compiled B4 compiling pango. When pango configure finds the proper version of cairo it will then automatically build libpangocairo. Even if your'e sure you're doing things right, when running configure take a moment to check which components pango is aware of or supporting. And if you see cairo listed you might try checking with configure --help to find out which environment variables need to tweaked for pango configure to find cairo.

Hope this makes sense/helps,

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]