I have a test VM of Debian on my development computer where I write, develop and test my code, and then I have a production computer with Debian also installed where I run my "production" builds. The production computer doesn't have any development tools on it, so I just FTP my built OpenGL game over to the production computer over my network. I'll try running the program, and I'll get a "not permitted" error because the permissions are incorrect. I'll change the permissions to grant all access to my prod computer's user, and then I'll get this error saying that the file I'm trying to run isn't found. I'll display all of my files in my terminal to make sure I'm in the correct directory, and it'll list the file too. I've tried this with just a basic program that prints "Hello World" to the screen too, and I'll run into the "file not found" error.
If I send the source over, and build it directly on the production computer, it works just fine. Does anyone know what could be happening? I've done some research, and it looks like something could be happening with ELF files?