Cross build from Windows to Linux32 lazarus / 32-Linux ---------------------------------------------------------------------- lainz · 2025-04-04 13:30 QuoteDebug: C:\fpcupdeluxe\cross\bin\i386-linux\i386-linux-gnu-ld.exe: C:\fpcupdeluxe\cross\lib\i386-linux\\libXtst.a(XTest.o): undefined reference to symbol 'XextAddDisplay' C:\fpcupdeluxe\cross\bin\i386-linux\i386-linux-gnu-ld.exe: C:\fpcupdeluxe\cross\lib\i386-linux\/libXext.so.6: error adding symbols: DSO missing from command line POSBerry.lpr(102,1) Error: Error while linking POSBerry.lpr(102,1) Verbose: There were 1 errors compiling module, stopping Verbose: Compilation aborted Verbose: C:\fpcupdeluxe\fpc\bin\i386-win32\ppc386.exe returned an error exitcode First it tell me that libxtst was missing, so I copy from Linux Mint 32. That error is gone. Now I get another error... I'm using Lazarus 3.4 FPC 3.2.2, cross compiler made with FPCUpDeluxe. ---------------------------------------------------------------------- TRon · 2025-04-04 14:14 In case you are not doing something exotic like manually linking objects and shared files (where order matters) then use ldd on the libXext.so file to list the dependencies that it relies on. One of those dependencies is probably missing (which usually accounts for such an error). ---------------------------------------------------------------------- rca · 2025-04-04 18:20 @lainz What version of fpcupdeluxe are you using? The library is already included in "cross\lib\i386-linux": "libXtst.so.6" Perhaps you just needed to copy and paste it again with the name "libXtst.so" You can get the libraries again from fpcupdeluxe: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/cros slibs_all/Linux_i386_Ubuntu_1804.zip