On Wednesday 03/09/11 07:04:07 CST, walt wrote: > On 03/07/2011 11:29 PM, du yang wrote: > > On Tuesday 03/08/11 11:31:42 CST, Adam Carter wrote: > >> > >> I got a gtk library error when trying to run a python script. > >> > >> # ./st.py > >> /usr/bin/python2.7: symbol lookup error: > >> /usr/lib/gtk-2.0/2.10.0/engines/ > >> libflat.so: undefined symbol: gtk_rc_style_get_type > >> > >> > >> Have you run revdep-rebuild and/or python-updater? > > > > Still no effect ;-( > > And I found opera has the same problem as well under the flat thmem, but no > > problem under aurora thmem. > > > > # opera > > /usr/lib/opera/opera: symbol lookup error: > > /usr/lib/gtk-2.0/2.10.0/engines/libflat.so: undefined symbol: > > gtk_rc_style_get_type > > I don't have libflat.so, so I can't tell you which package installed it, > but that package needs to be re-emerged. > > Try "equery b libflat.so" to find the broken package. > > > >
It just belongs to itself, and I checked its dependence graph, and tried to re-emerge all the related packages. At last, the problem is still there. so I suspect it may be a problem for gtk-engines-flat itself. Maybe I would try to fire a bug to gentoo, but now I have to change to use the "Aurora" theme to workaround the problem. Thanks you for your hints anyway! # equery b /usr/lib/gtk-2.0/2.10.0/engines/libflat.so * Searching for /usr/lib/gtk-2.0/2.10.0/engines/libflat.so ... x11-themes/gtk-engines-flat-2.0-r2 (/usr/lib/gtk-2.0/2.10.0/engines/libflat.so) # equery d x11-themes/gtk-engines-flat * These packages depend on x11-themes/gtk-engines-flat: # equery g x11-themes/gtk-engines-flat * Searching for gtk-engines-flat in x11-themes ... * dependency graph for x11-themes/gtk-engines-flat-2.0-r2 `-- x11-themes/gtk-engines-flat-2.0-r2 x86 `-- x11-libs/gtk+-2.22.1-r1 (x11-libs/gtk+) x86 `-- dev-util/pkgconfig-0.25-r2 (dev-util/pkgconfig) x86 [ x11-themes/gtk-engines-flat-2.0-r2 stats: packages (3), max depth (0) ] -- oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/::::