Package: mono-common Version: 1.1.6-4 Severity: normal
I'm using the Syscall class from Mono.Unix, but mono is unable to locate the required shared library: kronos:/tmp$ mono test.exe Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Syscall ---> System.DllNotFoundException: libMonoPosixHelper.so in (wrapper managed-to-native) Mono.Unix.Syscall:_L_ctermid () in <0x00008> Mono.Unix.Syscall:.cctor ()--- End of inner exception stack trace --- in <0x00000> <unknown method> in <0x00065> Foo:Main () The library is installed on the machine, but with a different name (note the trailing .0): kronos:/tmp$ locate libMonoPosixHelper.so /usr/lib/libMonoPosixHelper.so.0 /usr/lib/libMonoPosixHelper.so.0.1.0 Changing the following line of /etc/mono/config: <dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so"/> into: <dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so.0"/> cures the problem. Luca -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-rc4 Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15) Versions of packages mono-common depends on: ii binfmt-support 1.2.3 Support for extra binary formats mono-common recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]