Hello,

I 'd like to run some C# programs in a chroot. I copied the following inside my jail

  • My program (program.exe)
  • /bin/sh and libraries found by ldd
  • /bin/bash and libraries found by ldd
  • /usr/bin/mono
  • /usr/lib/mono


When I try to run my program like this:
Code:
sudo chroot jail ./program.exe
, I get the error message that this program does not exist. Mono C# does not do Dynamic Linking, so I cannot find the libraries on which my program depends, by using ldd. Could you please help me with that?

Thanks