[Mono-list] Problem calling Mono.Posix methods from embedded Mono.
Mon, 13 Dec 2004 14:42:27 +0000
I'm having problems calling Mono.Posix methods when embedded in C code.
For example, if I use the test-invoke sample to invoke the following
public class test_posix
public static void Main(string args)
I get the following error:
Unhandled Exception: System.DllNotFoundException: libc
in <0x00061> (wrapper managed-to-native) Mono.Posix.Syscall:chroot (string)
in <0x0000f> test_posix:Main (string)
Running the exe file straight from mono works fine.
Am I missing something? Or is this a bug? Or maybe in the package I'm
using (Debian 1.0.4)?