[packman] Re: [PM] last-exit 4.0 (openSUSE 10.2/x86_64)

Morgan Brassel morgan.brassel at free.fr
Thu Mar 29 18:51:18 CEST 2007


Le jeudi 29 mars 2007 à 18:32 +0200, Toni a écrit :
> Am Donnerstag, 29. März 2007 schrieb Morgan Brassel:
> > Le jeudi 29 mars 2007 à 17:16 +0200, Toni a écrit :
> > > Am Donnerstag, 29. März 2007 schrieb Morgan Brassel:
> > > > Hi,
> > > >
> > > > I just installed last-exit from packman repo on opensuse 10.2 (through
> > > > smart package manager), and I fail to have it launch. I get the
> > > >
> > > > following error message:
> > > > > last-exit
> > > >
> > > > Starting new Last Exit server
> > > >
> > > > Unhandled Exception: System.DllNotFoundException: libX11.so
> > > >   at (wrapper managed-to-native) NotificationArea:XInternAtom
> > > > (intptr,string,bool)
> > > >   at NotificationArea.OnRealized () [0x00000]
> > > >   at Gtk.Widget.realized_cb (IntPtr widget) [0x00000]
> > > >   at (wrapper native-to-managed) Gtk.Widget:realized_cb (intptr)
> > > >   at <0x00000> <unknown method>
> > > >   at (wrapper managed-to-native) Gtk.Widget:gtk_widget_show_all
> > > > (intptr) at Gtk.Widget.ShowAll () [0x00000]
> > > >   at LastExit.TrayIcon..ctor (Gtk.Window window) [0x00000]
> > > >   at LastExit.PlayerWindow..ctor () [0x00000]
> > > >   at LastExit.Driver.Main (System.String[] args) [0x00000]
> > > >
> > > > Has this already been reported? Is there a workaround?
> > >
> > > this looks like an *-sharp2 error.
> > >
> > > please post the output from:
> > > rpm -q gconf-sharp2  glade-sharp2 glib-sharp2 gnome-sharp2 mono-web
> > >
> > > if mono-web is not installed, install it and check again (in this case I
> > > forgot the require-statement for mono-web).
> >
> > Thank you for your quick answer. Here the output I get:
> >
> > $ rpm -q gconf-sharp2  glade-sharp2 glib-sharp2 gnome-sharp2 mono-web
> > gconf-sharp2-2.8.3-33
> > glade-sharp2-2.8.3-33
> > glib-sharp2-2.8.3-33
> > gnome-sharp2-2.8.3-33
> > mono-web-1.1.18.1-12.2
> >
> > All the packages are installed, including mono-web.
> >
> > But I finally know where the problem comes from: in /usr/lib, I only
> > have libX11.so.6 and libX11.so.6.2.0, whereas last-exit requests
> > libX11.so. So I just added a symbolic link and all was ok.
> Ok, your solution should work. So have fun with last-exit.
> 
> > However, I find it strange that this link wasn't already present...
> > Maybe I miss a particular package, who actually might have been
> > installed. Is it possible with rpm to know which (eventually not
> > installed) package give a particular file?
> so this link is missing in your xorg-x11 packages.
> 
> 
> yes you can check this with pin or online-pin:
> http://hitme.resetbutton.de/pin/
> 

Great tool! Thank you, I hadn't heard of it yet.

> result:
> ./suse/x86_64/xorg-x11-libX11-32bit-7.2-13.x86_64.rpm:    lrwxrwxrwx    1 root    
> root               15 Nov 25 13:53 /usr/lib/libX11.so.6 -> libX11.so.6.2.0
> ./suse/x86_64/xorg-x11-libX11-32bit-7.2-13.x86_64.rpm:    -rwxr-xr-x    1 root    
> root          1186148 Nov 25 13:53 /usr/lib/libX11.so.6.2.0
> ./suse/x86_64/xorg-x11-libX11-devel-32bit-7.2-13.x86_64.rpm:    lrwxrwxrwx    
> 1 root    root               15 Nov 25 13:53 /usr/lib/libX11.so -> 
> libX11.so.6.2.0
> ./suse/x86_64/xorg-x11-libX11-devel-7.2-13.x86_64.rpm:    lrwxrwxrwx    1 root    
> root               15 Nov 25 13:25 /usr/lib64/libX11.so -> libX11.so.6.2.0
> ./suse/x86_64/xorg-x11-libX11-7.2-13.x86_64.rpm:    lrwxrwxrwx    1 root    
> root               15 Nov 25 13:25 /usr/lib64/libX11.so.6 -> libX11.so.6.2.0
> ./suse/x86_64/xorg-x11-libX11-7.2-13.x86_64.rpm:    -rwxr-xr-x    1 root    
> root          1306784 Nov 25 13:25 /usr/lib64/libX11.so.6.2.0
> 
> looks like this link is only in the 32bit packages, for 64bit it is in the 
> xorg-x11-libX11-devel package. Strange :)
> >

In fact, the file libX11.so is only present in the libX11 devel packages
for ALL architectures. This means last-exit won't start even on 586 if
this package is not installed, and it is not present in opensuse default
installation.

A (pretty bad) solution would be to put the libX11 devel package in
last-exit dependencies. Another (maybe better) solution would be to
check for libX11.so.6 (installed on opensuse default installation)
rather than libX11.so.

What do you think?



> > Morgan
> Toni





More information about the Packman mailing list