[SM-Discuss] Some update (probably glib2) breaks all gtk+2 apps

Eric Sandall eric at sandall.us
Mon Mar 10 15:36:39 EDT 2008


One of these updates today broke all GTK+ apps:
20080310:1750(+0000)    cast    dejavu-ttf      2.24    success
20080310:1752(+0000)    cast    git     1.5.4.4 success
20080310:1754(+0000)    cast    glib2   2.14.6  success
20080310:1804(+0000)    cast    libgsf  1.14.8  success
20080310:1806(+0000)    cast    liboil  0.3.13  success
20080310:1806(+0000)    cast    mpg123  1.3.1   success
20080310:1812(+0000)    cast    samba   3.0.28a success
20080310:1817(+0000)    cast    sudo    1.6.9p14        success
20080310:1833(+0000)    cast    wine    0.9.57  success

$ firefox
/usr/lib/firefox/firefox-bin: symbol lookup error:  
/usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_dpgettext

$ midori
midori: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined  
symbol: g_dpgettext

$ terminal
terminal: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined  
symbol: g_dpgettext

$ pidgin
pidgin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined  
symbol: g_dpgettext

Ran `cleanse --fix firefox` and it tried to recompile gtk+2, but I get  
this error:
checking Pango flags... -I/usr/include/pango-1.0  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12   
  -lpangocairo-1.0 -lpango-1.0 -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
ESC[31mESC[1m ! Problem Detected ! ESC[0m

Recasting pango (which passed cleanse --fix) and then gtk+2 gives this error:
checking for Xinerama support on XFree86... yes
checking Pango flags... -I/usr/include/pango-1.0  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12   
  -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0  
-ldl -lglib-2.0
checking ATK flags... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0  
-I/usr/lib/glib-2.0/include   -latk-1.0 -lgobject-2.0 -lgmodule-2.0  
-ldl -lglib-2.0
configure: error:
                 *** Cannot link to Accessibility Toolkit.  
Accessibility Toolkit is required
                 *** to build GTK+

Now I recast atk and now gtk+2 compiles fine and my GTK+2 apps work.  
So one of the updates above needs to trigger pango and atk, then  
gtk+2. My vote goes to glib2 as atk, pango, and gtk+2 all depend on  
it, but I have done no testing.

-sandalle

-- 
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  http://counter.li.org/  #196285



More information about the SM-Discuss mailing list