[gentoo-user] Re: Error on gtk thmem: gtk-engines-flat

2011-03-09 Thread walt

On 03/08/2011 07:27 PM, du yang wrote:
 

At last, the problem is still there. so I suspect it may be a problem for 
gtk-engines-flat itself.



I think the gtk-engines-flat package is broken (now that I've installed it).

#ldd  /usr/lib/gtk-2.0/2.10.0/engines/libflat.so
linux-gate.so.1 =  (0xb7759000)
libc.so.6 = /lib/libc.so.6 (0xb75cf000)
/lib/ld-linux.so.2 (0xb775a000)

You can tell at a glance that none of those three libraries is going to define
a 'gtk' symbol.  All of the other libs in that directory are linked to dozens
of X and gtk-related libraries, and I think libflat.so should be linked in a
similar way.





[gentoo-user] Re: Error on gtk thmem: gtk-engines-flat

2011-03-08 Thread walt

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.






Re: [gentoo-user] Re: Error on gtk thmem: gtk-engines-flat

2011-03-08 Thread du yang
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::
::\_)::(..)::
:::)./:::
::(_/