Reputation: 387
I've compiled a simple helloworld program with Mono in Ubuntu, which I can execute using,
mono helloworld.exe
Also, I could just say,
helloworld.exe
and it works. However, in a different Linux machine where I had to build Mono from source (unlike with Ubuntu's already available package), the latter command does not work. It gives me the error,
-bash: ./helloworld.exe: cannot execute binary file
Any suggestions?
Thank you,
Upvotes: 0
Views: 2865