Skip to content

Instantly share code, notes, and snippets.

@metacritical
Created July 24, 2019 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metacritical/ebb8b6c1f2738e0b70574bf2d118aedb to your computer and use it in GitHub Desktop.
Save metacritical/ebb8b6c1f2738e0b70574bf2d118aedb to your computer and use it in GitHub Desktop.
Clojure-1.9.0 Binary Errors with Mono on Mac
>> mono all/net40/Clojure.Main.exe
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Clojure.CljMain' threw an exception. ---> System.TypeInitializationException: The type initializer for 'clojure.lang.RT' threw an exception. ---> System.IO.FileNotFoundException: Invalid Image
at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool,System.Threading.StackCrawlMark&)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00002] in <f7cedb26ce694cd281e4450870c6fe49>:0
at clojure.lang.RT.DoInit () [0x0000a] in <814990e2d98549148927c9ed5c97f15e>:0
at clojure.lang.RT..cctor () [0x01f89] in <814990e2d98549148927c9ed5c97f15e>:0
--- End of inner exception stack trace ---
at Clojure.CljMain..cctor () [0x0000f] in <f5aa122c398747a0aa41452d219b2965>:0
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Clojure.CljMain' threw an exception. ---> System.TypeInitializationException: The
type initializer for 'clojure.lang.RT' threw an exception. ---> System.IO.FileNotFoundException: Invalid Image
at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool,System.Threading.StackCrawlMark&)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00002] in <f7cedb26ce694cd281e4450870c6fe49>:0
at clojure.lang.RT.DoInit () [0x0000a] in <814990e2d98549148927c9ed5c97f15e>:0
at clojure.lang.RT..cctor () [0x01f89] in <814990e2d98549148927c9ed5c97f15e>:0
--- End of inner exception stack trace ---
at Clojure.CljMain..cctor () [0x0000f] in <f5aa122c398747a0aa41452d219b2965>:0
--- End of inner exception stack trace ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment