public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Error on gtk thmem: gtk-engines-flat
@ 2011-03-08  1:58 du yang
  2011-03-08  3:31 ` Adam Carter
  0 siblings, 1 reply; 7+ messages in thread
From: du yang @ 2011-03-08  1:58 UTC (permalink / raw
  To: gentoo-user


Hi,

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

The problem appears only after I recenly changed the gtk thmem to gtk-engines-flat.
There is no problem if use another gtk thmem x11-themes/gtk-engines-aurora.

I tried to reinstall gtk-engines or gtk-engines-flat, but the problem is still there.

Thanks!
du yang

-- 
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Error on gtk thmem: gtk-engines-flat
  2011-03-08  1:58 [gentoo-user] Error on gtk thmem: gtk-engines-flat du yang
@ 2011-03-08  3:31 ` Adam Carter
  2011-03-08  7:29   ` du yang
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Carter @ 2011-03-08  3:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

> 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?

[-- Attachment #2: Type: text/html, Size: 450 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Error on gtk thmem: gtk-engines-flat
  2011-03-08  3:31 ` Adam Carter
@ 2011-03-08  7:29   ` du yang
  2011-03-08 23:04     ` [gentoo-user] " walt
  0 siblings, 1 reply; 7+ messages in thread
From: du yang @ 2011-03-08  7:29 UTC (permalink / raw
  To: gentoo-user

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

-- 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: Error on gtk thmem: gtk-engines-flat
  2011-03-08  7:29   ` du yang
@ 2011-03-08 23:04     ` walt
  2011-03-09  3:27       ` du yang
  0 siblings, 1 reply; 7+ messages in thread
From: walt @ 2011-03-08 23:04 UTC (permalink / raw
  To: gentoo-user

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.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: Error on gtk thmem: gtk-engines-flat
  2011-03-08 23:04     ` [gentoo-user] " walt
@ 2011-03-09  3:27       ` du yang
  2011-03-09 22:29         ` walt
  0 siblings, 1 reply; 7+ messages in thread
From: du yang @ 2011-03-09  3:27 UTC (permalink / raw
  To: gentoo-user

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::
::\_)::(..)::
:::::::)./:::
::::::(_/::::



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: Error on gtk thmem: gtk-engines-flat
  2011-03-09  3:27       ` du yang
@ 2011-03-09 22:29         ` walt
  2011-03-10  2:28           ` [gentoo-user] " du yang
  0 siblings, 1 reply; 7+ messages in thread
From: walt @ 2011-03-09 22:29 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Error on gtk thmem: gtk-engines-flat
  2011-03-09 22:29         ` walt
@ 2011-03-10  2:28           ` du yang
  0 siblings, 0 replies; 7+ messages in thread
From: du yang @ 2011-03-10  2:28 UTC (permalink / raw
  To: gentoo-user

On Thursday 03/10/11 06:29:38 CST, walt wrote:
> 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.
> 
> 
Yes, it is quite different from other libraries.
It is mostly a compilation linking problem?

-- 
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-10  2:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08  1:58 [gentoo-user] Error on gtk thmem: gtk-engines-flat du yang
2011-03-08  3:31 ` Adam Carter
2011-03-08  7:29   ` du yang
2011-03-08 23:04     ` [gentoo-user] " walt
2011-03-09  3:27       ` du yang
2011-03-09 22:29         ` walt
2011-03-10  2:28           ` [gentoo-user] " du yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox