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

Toni toni at links2linux.de
Fri Mar 30 21:03:44 CEST 2007

Am Freitag, 30. März 2007 schrieb morgan.brassel at free.fr:
> Selon Toni <toni at links2linux.de>:
> > <snip>
> >
> > > 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.
> >
> > this is a "problem" of mono.
> > you find often statements like  [DllImport("libX11")] which leads to a
> > libX11.so ...
> > the proposed solution on their mailinglist is to change the
> > /etc/mono/config file with a proper mapping for such libs:
> > <dllmap dll="libX11" target="libX11.so"/>
> > should be
> > <dllmap dll="libX11" target="libX11.so.6.2"/>
> >
> > anyway I uploaded a new package. Please give it a try.
> Hi, I just upgraded last-exit to the new package
> last-exit-4.0-0.pm.2.x86_64.rpm but I still get the same error message (I
> removed my libX11.so symbolic link and the file is still asked by the
> last-exit command).
aaargh :(

I've patched the sources to avoid this and a test on my and Detlefs machine 
was succesfull without installed xorg-x11-devel package ... so my patch seems 
to work, but not in all cases :(

> But maybe I didn't understand your message: do I need to edit the mono
> config file manually?
yes, the proposed way to deal with this problems is:
edit your /etc/mono/config to point to the right libX11.

So this is not an "error" of last-exit package, it's a setup question of mono.
If you look at your /etc/mono/config you find some entries like libcairo.so.2, 
so they point to the actual version. But for libX11 SuSE package is pointing 
to libX11.so ... so simply change this and it should work as expected.

> Thanks for all,
> Morgan
> > have fun
> > Toni

More information about the Packman mailing list