Problems running the program on Debian

I have the following problem: I compiled my application on Linux Ubuntu 9.10 using CodeBlocks. This is a C program (which uses several libraries, such as libmysql, jasper ...) I copied the compiled program to a remote system running Debian 2.6.18, a chmodded + x application, but when called. / my _app bash still says "There is no such file or directory"

Do I need to compile my program on the target system? I am sure that all the libraries needed by the program are installed on the target system.

Thanks for any advice.

+3
source share
3 answers

(LDD) ( , ) . "file my_app", , . . , Ubuntu Wiki:

, Debian Ubuntu.
...
, , . " " . ?...
, , .

, , .

+2

, . ldd <binary name> ( ) , .

+2

, ( ).

, , . , " ...".

+1

Source: https://habr.com/ru/post/1734852/


All Articles