Hi!
I'm developing a linux daemon in this VM:
lubuntu-18.04-alternate-amd64.
And after build and run from console for tests:
it's possible get some expected results.
But if I copy my application to another computer (not VM):
Ubuntu Server 20.04 LTS (without graphical interface)to try run the same prompt commands to test my application then I'm receiving the folowing error:
"error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory"I'm not a Linux expert, but this library is about graphical interface, right?
If yes, I belive that some graphic dependency exists in my code, but I'm not finding.
My project file has this uses list:
Uses
{$IFDEF UNIX}
CThreads,
{$ENDIF}
Interfaces, DaemonApp, lazdaemonapp, daemonmapperc3scnpj, daemonc3scnpj,
indylaz, zcomponent
{ add your units here };
My daemon has:
uses
Classes, SysUtils, SyncObjs, IdSchedulerOfThreadPool, IdHTTPServer,
IdCustomHTTPServer, IdContext, DaemonApp,
variants, ZConnection, ZDataset, ZDbcIntfs, ZCompatibility;
And my DaemonMapper:
uses
Classes, SysUtils, DaemonApp;
And my Project Inspector is attached.
Can any Linux expert give me any suggestions, please?