[SOLVED]Daemon requiring libgdk-x11-2.0.so.0 lazarus / 32-Linux ---------------------------------------------------------------------- hrayon · 2020-09-23 00:53 Hi! I'm developing a linux daemon in this VM: lubuntu-18.04-alternate- amd64. And after build and run from console for tests: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo ./myapplication -rit'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: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Uses{$IFDEF UNIX}  CThreads,{$ENDIF}  Interfaces, DaemonApp, lazdaemonapp, daemonmapperc3scnpj, daemonc3scnpj,  indylaz, zcomponent  { add your units here }; My daemon has: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses  Classes, SysUtils, SyncObjs, IdSchedulerOfThreadPool, IdHTTPServer,  IdCustomHTTPServer, IdContext,  DaemonApp,  variants, ZConnection, ZDataset, ZDbcIntfs, ZCompatibility; And my DaemonMapper: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses  Classes, SysUtils, DaemonApp; And my Project Inspector is attached. Can any Linux expert give me any suggestions, please? ---------------------------------------------------------------------- PascalDragon · 2020-09-23 07:29 Quote from: hrayon on September 23, 2020, 02:53:28 amCan any Linux expert give me any suggestions, please? It might be the Indy components that pull in the visual code. You can either try to use the NoGUI widgetset or you need to find out which part of Indy pulls in the GUI code and adjust accordingly. ---------------------------------------------------------------------- mig-31 · 2020-09-23 09:17 Quote from: hrayon on September 23, 2020, 02:53:28 am"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? This is library of X Server, basic graphical interface. It is not full desktop GUI like KDE Plasma, Gnome. In case you want to GUI program on Linux server you also need some libraries of X Server. As @PascalDragon mention "try to use the NoGUI widgetset", replace Indy with Synapse or Lnet. ---------------------------------------------------------------------- hrayon · 2020-09-23 20:52 You all are right guys! Using NoGUI widgetset solved the problem! Thanks!