I have a following problem: I compiled my application on Linux Ubuntu 9.10 using CodeBlocks. It is a C program (which uses few libraries, like libmysql, jasper…)
I copied the compiled program to a remote system running Debian 2.6.18, chmodded +x the application but when calling ./my_app bash still says “No such file or directory”
Do I need to compile my program at the target system? Im sure all libraries the program needs are installed at the target system.
Thanks for any advice.
Your diagnostic attempt (LDD) and your reported error messages (no such file, not a dynamic executable) aren’t very helpful. The output of “file my_app” would probably be more indicative. But you needn’t go to the effort. From a person claimng to speak for Ubuntu in the Wiki:
So, yes, you do need to re-compile.