fpweb (cgi Program) lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- cpalx · 2022-11-26 16:23 Hello I have a very rarely problem I have an Api made in lazarus  (2.2.4 and fpc 3.2.2) it is working perfectly in Ubuntu Server (18.04 and 20.04) recently I updated my desktop PC to Ubuntu 22.04, with the same lazarus version. I compiled my progrsm (API) and compiles ok and works ok in my Ubunutu 22.04 PC. but it doesnt work in my Ubuntu Servers (18.04,20.04). the same code I compile in Ubuntu 20.04 and works in all Ubuntu Servers Versions. All PCs are 64 bits compiled Here you have the links http://db.infinitus.pe/cgi-bin/ApiRest_Ubuntu2004/ApiVersion http://db.infinitus.pe/cgi-bin/ApiRest_Ubuntu2204/ApiVersion ---------------------------------------------------------------------- lainz · 2022-11-26 16:36 Maybe it has to do with linked libraries version's ---------------------------------------------------------------------- cpalx · 2022-11-26 16:50 i dont think so, it compiles ok (so I have the binary that does not need any other library) ---------------------------------------------------------------------- PascalDragon · 2022-11-27 20:54 Quote from: cpalx on November 26, 2022, 05:23:54 pmrecently I updated my desktop PC to Ubuntu 22.04, with the same lazarus version. I compiled my progrsm (API) and compiles ok and works ok in my Ubunutu 22.04 PC. but it doesnt work in my Ubuntu Servers (18.04,20.04). the same code I compile in Ubuntu 20.04 and works in all Ubuntu Servers Versions. There was a change in the C library between 20.04 and 22.04 that is versioned. That means you can not run an application compiled on Ubuntu 22.04 on a 20.04. You must compile it there (this is true no matter if it's Pascal or C as long as it links against the C library). Edit: see also this thread. ---------------------------------------------------------------------- cpalx · 2022-11-28 22:39 thanks.