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



I have all these ENV variable set and I had compiled cairo withs --prefix=/usr/local param, after
that I compiled pango with the same param and still doesn't work :(.

Any other idea??
Thanks.
--- Archana <archana shah wipro com> wrote:


---------------------------------
  Hi,

With what prefix have you built cairo on your system ?  In case, you didnot give any prefix while
building cairo, it will by default take /usr/local.So you need to set some environment variables
for gtk to pick up newly builtcairo.

Do this:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/bin:$PATH

And then if possible checkout a fresh copy of gtk+ and build it from scratch.

I have assumed that /usr/local is the prefix taken for cairo, if it is somethingelse, you have to
set your environment variables accordingly..

Regards,
Archana.

nr wrote:
  
Hello all,I tried to compile Gtk2+-2.8.6 on a RedHat Ent3 WS Linux but without succes.The output
of the configuration scripts is the following:checking Pango flags...
-I/usr/local/include/pango-1.0 -I/usr/local//include/glib-2.0-I/usr/local//lib/glib-2.0/includ
-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: error:*** Can't link to Pango. Pango is required to build*** GTK+. For more information
see http://www.pango.orgI've installed all these libraries but doesn't work either :(Could anybody
help me, please??I attach the config.log part related to this error.configure:31480: checking
Pango flagsconfigure: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 statusconfigure:31536: $? = 1Thanks in
advance,robert			__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com_______________________________________________gtk-list mailing
listgtk-list gnome orghttp://mail.gnome.org/mailman/listinfo/gtk-list  

> Confidentiality Notice  
> The information contained in this electronic 
> message and any attachments to this message are
> intended for the exclusive use of the addressee(s)
> and may contain confidential or privileged information.
> If you are not the intended recipient, please notify 
> the sender at Wipro or Mailadmin wipro com immediately 
> and destroy all copies of this message and any attachments.



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



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