[Mono-dev] System.TypeLoadExceptions in mono 2.11.4

sebastian sebastian at palladiumconsulting.com
Tue Oct 9 18:00:55 UTC 2012


I've just freshly built mono 2.11.4 from source using RHEL using

$ uname -a
Linux myhostname 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012
x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)

And all functionality seems to fail with the same System.TypeLoadException

$ mcs

Unhandled Exception:
System.TypeLoadException: Could not load type
'Mono.CSharp.CompilerSettings' from assembly 'mcs, Version=2.11.4.0,
Culture=neutral, PublicKeyToken=null'.
  at Mono.CSharp.CommandLineParser..ctor (System.IO.TextWriter errorOutput)
[0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename
unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load
type 'Mono.CSharp.CompilerSettings' from assembly 'mcs, Version=2.11.4.0,
Culture=neutral, PublicKeyToken=null'.
  at Mono.CSharp.CommandLineParser..ctor (System.IO.TextWriter errorOutput)
[0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename
unknown>:0

The same happens whether running a "hello world" program, NUnit test,
built-in applications, etc. Obviously something is configured or built
incorrectly, but I am at a loss as to what, as the configure, make, and
make install steps all ran without error. Where do I start looking?

Thanks,

Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20121009/a7fe07d3/attachment.html>


More information about the Mono-devel-list mailing list