I'm trying to run a dart compiled executable (app.exe) in a chroot. Outside of chroot, I'm able to run it just fine, but when I attempt to run it in chroot, it looks like I'm just running the dart command and I simply get the dart usage:
Usage: dart [<vm-flags>] <dart-script-file> [<script-arguments>]
...
I've run ldd app.exe and added all the libraries and anything they loaded, though that doesn't seem to be enough to build the root directory. Does anyone have a suggestion about how to find what I'm missing?