[Mono-list] Problem with mscorlib.dll
Raja R Harinath
rharinath at novell.com
Thu Jul 21 07:22:02 EDT 2005
Hi,
Ben Clewett <ben at roadrunner.uk.com> writes:
> I have tried reinstalling mono to avoid some problems. I am trying to
> use the --prefix=/usr and --with-mono-prefix=/usr to try and ensure all
> components see each other.
>
> I am getting a weird error in my Apache logs:
>
> ** ERROR **: Method 'System.MonoType:getFullName ()' in assembly
> '/usr/lib/mscorlib.dll' contains native code and mono can't run it. The
> assembly was probably created by Managed C++.
>
> I think the file mscorelib.dll was created by Wine and has nothing to do
> with Mono. The correct file being /usr/lib/mono/1.0/mscorlib.dll
>
> Do any users know how to ask mono to use the correct libs?
/usr/lib/mscorlib.dll was created by old versions of Mono. It has
nothing to do with Wine. It is safe to delete it if you have installed
a newer version of Mono in /usr.
I suggest that you delete the file and try again.
- Hari
More information about the Mono-list
mailing list