On Friday 30 July 2004 12:09, Enrique Perez-Terron wrote: >On Fri, 2004-07-30 at 17:39, Gene Heskett wrote: >> /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libpangoxft-1.0. >>so: undefined reference to `pango_fc_font_map_cache_clear' > >I did the following: > > $ cd /usr/lib > $ for i in *pango*.so; > > > do objdump -T $i | grep pango_fc_font_map_cache_clear && echo > > ===$i; done > > 000079f0 g DF .text 00000022 Base > pango_fc_font_map_cache_clear ===libpangoft2-1.0.so > 00000000 DF *UND* 00000022 > pango_fc_font_map_cache_clear ===libpangoxft-1.0.so > >It appears that the symbol is referenced in libpangoxft-1.0.so and > defined in libpangoft2-1.0.so. > > $ ls -l libpangoft2-1.0.so libpangoxft-1.0.so > lrwxrwxrwx [snip] libpangoft2-1.0.so -> > libpangoft2-1.0.so.0.399.1 lrwxrwxrwx [snip] libpangoxft-1.0.so -> > libpangoxft-1.0.so.0.399.1 $ rpm -qf > /usr/lib/libpangoft2-1.0.so.0.399.1 > pango-1.4.0-2 > $ rpm -qf /usr/lib/libpangoxft-1.0.so.0.399.1 > pango-1.4.0-2 > >FWIW. > >-Enrqiue I took the simple way out with an ls -l: [root@coyote gkrellm-2.1.28]# ls -l /usr/lib/libpango* lrwxrwxrwx 1 root root 23 Jul 25 21:31 /usr/lib/libpango-1.0.so -> libpango-1.0.so.0.399.1 lrwxrwxrwx 1 root root 23 Jul 25 21:14 /usr/lib/libpango-1.0.so.0 -> libpango-1.0.so.0.399.1 -rwxr-xr-x 1 root root 208744 Apr 8 16:00 /usr/lib/libpango-1.0.so.0.399.1 lrwxrwxrwx 1 root root 26 Jul 25 21:31 /usr/lib/libpangoft2-1.0.so -> libpangoft2-1.0.so.0.399.1 lrwxrwxrwx 1 root root 26 Jul 25 21:14 /usr/lib/libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.399.1 -rwxr-xr-x 1 root root 147572 Apr 8 16:00 /usr/lib/libpangoft2-1.0.so.0.399.1 lrwxrwxrwx 1 root root 24 Jul 25 21:31 /usr/lib/libpangox-1.0.so -> libpangox-1.0.so.0.399.1 lrwxrwxrwx 1 root root 24 Jul 25 21:14 /usr/lib/libpangox-1.0.so.0 -> libpangox-1.0.so.0.399.1 -rwxr-xr-x 1 root root 43628 Apr 8 16:00 /usr/lib/libpangox-1.0.so.0.399.1 lrwxrwxrwx 1 root root 26 Jul 25 21:31 /usr/lib/libpangoxft-1.0.so -> libpangoxft-1.0.so.0.399.1 lrwxrwxrwx 1 root root 26 Jul 25 21:14 /usr/lib/libpangoxft-1.0.so.0 -> libpangoxft-1.0.so.0.399.1 -rwxr-xr-x 1 root root 16600 Apr 8 16:00 /usr/lib/libpangoxft-1.0.so.0.399.1 Are you saying that I need to add libpangoft2.so.0 to the linking of gkrellm? I'm not on very solid ground as to how to do this, please advise. Actually this seems quite endemic on this system, and it seems the real cure might lay in the /usr/lib/pkgconfig/pangoxft.pc file. ? Compare this pangoxft.pc to one that works: ---------------------------- prefix=/usr exec_prefix=/usr libdir=/usr/lib includedir=/usr/include Name: Pango Xft Description: Xft font support for Pango Version: 1.4.0 Requires: pango Libs: -L${libdir} -lpangoxft-1.0 Cflags: -I${includedir}/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -------------------------- Am I getting warmer? -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.24% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.