[Lazarus] Lazarus program runs fine in a Terminal but not in a PuTTY session, why?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Nov 1 00:04:50 CET 2019


Hi Bo,

On 31/10/2019 10:02 pm, Michael Van Canneyt via lazarus wrote:
> If the 'interfaces' unit is in the uses clause of your program, try
> removing it.


In addition to what Michael said, you can also run
`ldd /path/and/program` and Linux will tell you your executable is
dependent on X11 libraries. If so, then "nogui" might still be pulling
in dependencies without your knowledge.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the lazarus mailing list