[Mono-osx] Help with Mono, IKVM -- sadly

christopher hord chordam7 at yahoo.com
Thu May 22 22:09:36 EDT 2008


I spoke too soon! Your suggestion was a great hel, thanks! I was symlinking the wrong file. Once I realized my mistake, I made some new symlinks and the terminal recognizes ikvm to my great relief!

However, I am getting the following error message:

Corlib not in sync with this runtime: expected corlib version 65, found 54.
Loaded from: /sw/lib/mono/1.0/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.

I have had issues such as this in the past but had figured it wouldn't be a problem when this was all part of the same download. I will try to get the newest version of the whole package to see if this resolves any issues (unless anyone has better suggestions?)!

Anyway, thanks all, for your assistance.


Andreas Färber <andreas.faerber at web.de> wrote: Christopher,

Am 21.05.2008 um 01:39 schrieb christopher hord:

> I get the response:
> /Library/Frameworks/Mono.framework/Versions/1.9.1/bin/ikvm
> /Library/Frameworks/Mono.framework/Versions/1.9.1/bin/ikvmc
> /Library/Frameworks/Mono.framework/Versions/1.9.1/bin/ikvmstub
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ikvm- 
> native.dll
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ikvm.exe
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ikvmc.exe
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/ikvm/ 
> ikvmstub.exe
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libikvm-native.a
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libikvm- 
> native.dylib
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libikvm- 
> native.la
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/mono/ikvm
> /Library/Frameworks/Mono.framework/Versions/1.9.1/share/pkgconfig/ 
> ikvm.pc
> Encouraged by that, I decided maybe I was going about it wrong,  
> since ikvm might always expect a classname to follow. I whipped up a  
> quick "hello world", compiled a class and put that class into the  
> ikvm folder (so I knew everything should be found, because all the  
> files were in the same directory).

I can execute ikvm on 1.9.1_3 on Intel, the executable is symlinked  
in /usr/bin. You can execute it without arguments and get a help  
screen. You shouldn't need to put your files in any special folder.

Check whether there is such a symlink on your system ("ls -l /usr/bin/ 
ikvm") and whether /usr/bin is in your $PATH ("echo $PATH").

> I navigated to that directory and entered "ikvm" classname from the  
> terminal. Still got "-bash: ikvm: command not found...."

To execute it from the current directory you need to enter "./ikvm"  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080522/2ed67c9e/attachment.html 

More information about the Mono-osx mailing list