Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293117

Summary: gnome-extra/gnome-do-0.8.2: doesn't see my applications.
Product: Gentoo Linux Reporter: Diego Flórez <florezg.diegof>
Component: [OLD] GNOMEAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal CC: bfx81, jlec
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Flórez 2009-11-13 20:35:27 UTC
When I launch gnome-do, this error message appear on terminal: "Could not load desktop item: libgnome-desktop-2.so.7".



Reproducible: Always

Steps to Reproduce:
1. execute $ gnome-do 
2. Appear the error message

Actual Results:  
I can't launch any application from gnome-do

Expected Results:  
Gnome-do should show me the installed applications, like firefox, gnome-terminal....

I doesn't have installed gdm, or any other display manager.
I emerged gnome-base/gnome-light-2.26.3 instead complete installation of gnome.

The file missing "libgnome- desktop-2.so" belongs to gnome-base/gnome-desktop package, which is already installed.

Actually I had re-emerged gnome-light whit all it's dependencies and gnome-do, but the problem is still present.
Comment 1 Rafał Mużyło 2009-11-13 21:12:00 UTC
Use revdep-rebuild.
Comment 2 Diego Flórez 2009-11-13 21:25:04 UTC
(In reply to comment #1)
> Use revdep-rebuild.
> 

I also made that, but not solve the problem.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-11-14 12:13:57 UTC
please reemerge gnome-do ansd see of problem still exists.
Additionally  add the output of 

emerge -vp gnome-base/gnome-desktop
Comment 4 jerdnox 2009-11-20 20:21:43 UTC
Same problem here.
It is true, that file libgnome-desktop-2.so belongs to gnome-base/gnome-desktop, but there is not actually requested version libgnome-desktop-2.so.7.

$ equery belongs libgnome-desktop-2.so       
[ Searching for file(s) libgnome-desktop-2.so in *... ]
gnome-base/gnome-desktop-2.26.3 (/usr/lib/libgnome-desktop-2.so -> libgnome-desktop-2.so.11.2.6)

$ ls -lah /usr/lib | grep -i libgnome-desktop
-rw-r--r--   1 root root  2.0K Nov 20 20:11 libgnome-desktop-2.la
lrwxrwxrwx   1 root root    28 Nov 20 20:11 libgnome-desktop-2.so -> libgnome-desktop-2.so.11.2.6
lrwxrwxrwx   1 root root    28 Nov 20 20:11 libgnome-desktop-2.so.11 -> libgnome-desktop-2.so.11.2.6
-rwxr-xr-x   1 root root  140K Nov 20 20:11 libgnome-desktop-2.so.11.2.6

According to https://bugzilla.redhat.com/show_bug.cgi?id=477940 there is a wrong dll map for libgnome-desktop. 

$ cat /usr/lib/mono/gac/gnomedesktop-sharp/2.20.0.0__35e10195dab3c99f/gnomedesktop-sharp.dll.config
<configuration>
  <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
  <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
  <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so.0"/>
  <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
  <dllmap dll="gnome-desktop-2" target="libgnome-desktop-2.so.7"/>
</configuration>

I replaced libgnome-desktop-2.so.7 with libgnome-desktop-2.so in config file, restarted X and the error message does not appeared.
Comment 5 Diego Flórez 2009-11-20 21:09:18 UTC
(In reply to comment #4)
> Same problem here.
> It is true, that file libgnome-desktop-2.so belongs to
> gnome-base/gnome-desktop, but there is not actually requested version
> libgnome-desktop-2.so.7.
> 
> $ equery belongs libgnome-desktop-2.so       
> [ Searching for file(s) libgnome-desktop-2.so in *... ]
> gnome-base/gnome-desktop-2.26.3 (/usr/lib/libgnome-desktop-2.so ->
> libgnome-desktop-2.so.11.2.6)
> 
> $ ls -lah /usr/lib | grep -i libgnome-desktop
> -rw-r--r--   1 root root  2.0K Nov 20 20:11 libgnome-desktop-2.la
> lrwxrwxrwx   1 root root    28 Nov 20 20:11 libgnome-desktop-2.so ->
> libgnome-desktop-2.so.11.2.6
> lrwxrwxrwx   1 root root    28 Nov 20 20:11 libgnome-desktop-2.so.11 ->
> libgnome-desktop-2.so.11.2.6
> -rwxr-xr-x   1 root root  140K Nov 20 20:11 libgnome-desktop-2.so.11.2.6
> 
> According to https://bugzilla.redhat.com/show_bug.cgi?id=477940 there is a
> wrong dll map for libgnome-desktop. 
> 
> $ cat
> /usr/lib/mono/gac/gnomedesktop-sharp/2.20.0.0__35e10195dab3c99f/gnomedesktop-sharp.dll.config
> <configuration>
>   <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
>   <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
>   <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so.0"/>
>   <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
>   <dllmap dll="gnome-desktop-2" target="libgnome-desktop-2.so.7"/>
> </configuration>
> 
> I replaced libgnome-desktop-2.so.7 with libgnome-desktop-2.so in config file,
> restarted X and the error message does not appeared.
> 


Thanks!!! That really has solved the problem.

I had solved this by: ln -s usr/lib/libgnome-desktop-2.so usr/lib/libgnome-desktop-2.so.7 

But your solution looks cleaner than mine.

Really Thanks
Comment 6 Fabio Bonfante 2010-05-12 23:00:00 UTC
upgrading to dev-dotnet/gnome-desktop-sharp-2.26.0 solve the problem probably in the right (and simpler way)...