Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to run C# executables in a chroot but I can't find a way to do so. Inside the chroot, besides my executable, I have copied the following inside my jail

  • /bin/sh
  • /bin/bash
  • /usr/bin/mono
  • /usr/lib/mono
  • All the libraries that /bin/sh and /bin/bash need (found by ldd)

My problem is that Mono C# does not do Dynamic Linking, so I cannot use ldd to find the dependencies of my software and when I try to do sudo chroot jail ./Program.exe I get the following message

chroot: failed to run command./Program.exe': No such file or directory`

Could you please help me on that? Thanks

My Operating System is Ubuntu 10.04 x64

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.