Re: Beagle thinks Im running windows?


On Wed, 2005-11-30 at 08:36 +0100, Jonas Karlsson wrote:
> Error: System.DllNotFoundException: libglib-2.0-0.dll

The dll is mapped to a shared library at runtime so that you can have
programs which run on both Linux and Windows without any source changes.

The mappings are stored in dll.config files.  For this one, it's
in /usr/lib/mono/gac/glib-sharp/ (or something similar), and should say this (or something similar):

  <dllmap dll="libglib-2.0-0.dll" target=""/>
  <dllmap dll="libgobject-2.0-0.dll" target=""/>
  <dllmap dll="libgthread-2.0-0.dll" target=""/>

Make sure that you have that file, and that the targets are available on
your system.  You can also run with environment variables
MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll,asm to see mono's debugging
output when trying to look up those assemblies and libraries to see if
there is anything obviously wrong.  You can also try running other
gtk-based mono apps like Tomboy or F-Spot to see if they also have this

Typically this is something handled by the packages in the distro, so
you might want to report this upstream.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]