[Mono-dev] "mscorlib.dll is an invalid CIL image"
chrispl78 at yahoo.com
Tue Apr 28 18:26:49 EDT 2009
(BTW is top posting anathema here?)
Thank you for your reply.
I can run the Mono executable from the NFS directory which is on a virtual Suse box
but I get the 'mscorlib.dll is an invalid CIL image' error when I try to run a test program.
I'm trying to run this on a PowerPC board (Freescale MPC8313), could big endian/little endian
issues into account given that mscorlib.dll is an Intel binary format file, or is this
something Linux on the board abstracts away?
I've used various versions of the mscorlib.dll file. The last time I used MSCORLIB.DLL from a
SUSE Mono distribution.
Mono is accessed through NFS, could that be an issue?
----- Original Message ----
> From: Kornél Pál <kornelpal at gmail.com>
> To: Chris Plasun <chrispl78 at yahoo.com>
> Cc: mono-devel-list at lists.ximian.com
> Sent: Tuesday, April 28, 2009 3:02:36 PM
> Subject: Re: [Mono-dev] "mscorlib.dll is an invalid CIL image"
> mscorlib.dll is tightly integrated with the runtime so mixing the runtime and
> mscorlib.dll is guaranteed not to work. Verify the same mscorlib.dll that you
> want to use using peverify.exe from MS.NET for example or on another box with
> Also ensure that the file isn't corrupted by non-binary trasfer. Verify its
> md5sum for example.
> If mscorlib.dll is OK the your runtime is corrupt of compliled incorrectly.
> Chris Plasun wrote:
> > Thanks for your reply Rodrigo.
> > I copied mcorlib.dll both from the Microsoft .NET distribution and from the
> Mono distribution so it should be valid. I tried various versions.
> > The Mono version is 2.2 and it is cross compiled for powerpc-e300c3
> > Is there a "standard" powerpc-e300c3 version of Mono that I can use?
> > Can I use ANY version of Mono for the PowerPC?
> > How would I trace into the error I'm receiving?
> > Thanks again.
> > Chris Plasun
> > ________________________________
> > From: Rodrigo Kumpera
> > To: Chris Plasun
> > Cc: mono-devel-list at lists.ximian.com
> > Sent: Tuesday, April 28, 2009 12:23:53 PM
> > Subject: Re: [Mono-dev] "mscorlib.dll is an invalid CIL image"
> > This might be a bug in your mscorlib.dll or the mono runtime decoding
> > What version of mono are you using? Did you cross compile or built on the
> > Is your mscorlib really valid?
> > On Tue, Apr 28, 2009 at 3:56 PM, Chris Plasun wrote:
> > Hi,
> > I'm trying to get Mono working on a Freescale MPC8313 PowerPC embedded Linux
> > When I try to run a 'hello world' application I get the following error:
> > "mscorlib.dll is an invalid CIL image"
> > I've looked around on Google and I have **nothing** that gets me a step
> > I'm out of options as far as I know.
> > Does anyone know how I can fix this issue?
> > Thank you for any help.
> > Chris Plasun
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list