[Mono-dev] DllImport("__Internal") and libMonoPosixHelper static build

mobin.seven mobin.seven at live.com
Tue Dec 31 09:34:52 UTC 2013

Same here! Did you solve it?

ralphbariz wrote
> Hi,
> I'm trying to compile a static one binary mono(Because the target system
> has an incompatible loader).
> First I got mono to build statically, but without libMonoPosixHelper in
> the archive. After a few tries, I got also this, changed all
> DllImport(MPH) calls in Mono.Posix.dll to DllImport("__Internal"), it
> still gives me a TypeInitializationexception when I try to access the stat
> symbol of the libMonoPosixHelper. With objdump I looked inside, the
> symbols of libMonoPosixHelper are all inside the archive, so what am I
> doing wrong?

View this message in context: http://mono.1490590.n4.nabble.com/DllImport-Internal-and-libMonoPosixHelper-static-build-tp4551182p4661646.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list