Hello,
I have converted a Delphi service application into a freepascal Daemon application. I am compiling on ubuntu 20.10 and it works fine but when I run the executable on an OEL7 server, that has no GUI, I am getting this error:
libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
The application had zeoslib which I have used on another CLI with no issue and the Indy components. I want to remove this dependency as I am unable and unwilling to install xwindows. I have gone through all files and removed
I have removed LCLIntf, LCLType, Graphics, Controls, Forms, Dialogs from the project files and left SysUtils, Classes. ldd is showing the so as a dependency.
How can I find what is loading this dependency or is there a switch to exclude it?