Working on Debian "Buster" AMD64 with Lazarus 2.1.0 and FPC 3.0.4, with Debian's multi-arch installed and installed. No known configuration problems compiling and running 64-bit programs.
A simple LCL program cross-compiled to i386 runs without problems, but a more complex one using TAChart and a few TPaintboxes fails with
[FORMS.PP] ExceptionOccurred
Sender=Exception
Exception=Could not load OpenGL from libGL.so.1
Stack trace:
$088F8F43 LOADOPENGL, line 1895 of ./opengl/src/gl.pp
$088FAF47 GL_$$_init$, line 2273 of ./opengl/src/gl.pp
$084F9271 fpc_initializeunits, line 886 of /usr/local/src/fpc/fpcbuild-3.0.4/fpcsrc/rtl/inc/system.inc
$084E0FDA main, line 81 of dsocat.lpr
Exception at 088F8F43: Exception:
Could not load OpenGL from libGL.so.1.
ldd output doesn't show anything unexpected.
I know that this is an issue that others have seen in the past, but have yet to see a definitive solution. Has anybody actually cracked it?
MarkMLl