[Mono-dev] System.DLL

Jonathan Pryor jonpryor at vt.edu
Mon Nov 7 06:39:13 EST 2005


On Mon, 2005-11-07 at 11:00 +0800, Marcus Deluigi (intern) wrote:
> I send this email to Mono-list at lists.ximian.com and I did not get any
> answer.

I didn't see it there.

> I want to run .net windows forms applications on debian sarge.
> Apparently, some .dll <-> .so mappings are missing in my
> /etc/mono/config, since the applications can't find most of the DLLs,
> e.g. System.Dll, etc.

/etc/mono/config only contains information about *unmanaged* shared
libraries.  System.dll is a managed code assembly, and thus won't be
listed in that file.  Neither will mscorlib.dll, or System.Xml.dll, or
Mono.Posix.dll, or...

> Where can I lookup the .dll <-> .so mappings and correct the config file
> manually?

The config file shouldn't need any modifications.  If it does, there's
something wrong with your packages (assuming you installed from RPM and
not from source).

> Or did I make the wrong conclusion on the error message "An exception
> was thrown by the type initializer for Mono.Unixe.Native.Syscall --->
> System.DllNotFoundException"?

I'm sure there was more to the message, such as "could not find
MonoPosixHelper.dll" or something like that.  You would get this message
if Mono couldn't find libMonoPosixHelper.so, which *should* be present
in $prefix/lib (e.g. /usr/lib/libMonoPosixHelper.so).  If this file is
missing, that's the problem.

If this file is present, then we'll need more information.  If you run
your program with MONO_LOG_LEVEL=info MONO_LOG_MASK=dll set there should
be a message stating why libMonoPosixHelper.so couldn't be loaded.

 - Jon





More information about the Mono-devel-list mailing list