Re: Beagle thinks Im running windows?



Hi,

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/2.4.0.0__35e10195dab3c99f/glib-sharp.dll.config (or something similar), and should say this (or something similar):

<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"/>
</configuration>

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
problem.

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

Joe





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