Try this simple program and see if that will run on both machines. If it does, you have a dependency issue and probably have to install some libraries on the other machine or link statically.
Save and compile it from a console as: fpc -CX -XXs test.pas run as ./test
program test; // program without external dependencies begin writeln('test'); readln; end.
Also:
- has the second machine a compatible processor? i.e. you can't run arm code on an intel
- has the second machine the same bitness? you can't run 64 bit code on a 32 bit installation
To check your application setting for machine compatibility (as what Thaddy said), do this:
Lazarus main menu > Project > Project Options > Config and Target