0

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,

1
  • Perhaps it has been linked with a different libc.so, etc.. Commented May 14, 2013 at 5:28

1 Answer 1

2

You probably have to register the non-native executable format, for a more detailed explanation please look here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.