IDE läuft man kann kompilieren.
Beim einbinden eines Packgage und der kompilierung der IDE kommt folgende Fehlermeldung :
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling dataportlasarus.pas
/home/wgs/.lazarus/onlinepackagemanager/packages/DataPort/dataportlasarus.pas(10,3) Hint: (5023) Unit "DataPort" not used in DataPortLasarus
/home/wgs/.lazarus/onlinepackagemanager/packages/DataPort/dataportlasarus.pas(10,13) Hint: (5023) Unit "DataPortUART" not used in DataPortLasarus
(1008) 28 lines compiled, 0.4 sec
(1022) 4 hint(s) issued
make: Entering directory '/usr/share/lazarus/3.6.0'
/usr/bin/make -C ide ide
make[1]: Entering directory '/usr/share/lazarus/3.6.0/ide'
/usr/bin/make --assume-new=lazarus.pp lazarus OPT='-Fu../packager/units/x86_64-linux -Fu../components/codetools/units/x86_64-linux -Fu../components/debuggerintf/lib/x86_64-linux -Fu../components/lazutils/lib/x86_64-linux -Fu../components/freetype/lib/x86_64-linux -Fu../lcl/units/x86_64-linux -Fu../lcl/units/x86_64-linux/gtk2 -Fu../components/buildintf/units/x86_64-linux -Fu../components/ideintf/units/x86_64-linux/gtk2 -Fu../components/synedit/units/x86_64-linux/gtk2 -Fu../components/lazcontrols/lib/x86_64-linux/gtk2 -Fu../components/lazcontrols/design/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggers/lazdebuggerintf/lib/x86_64-linux -Fu../components/lazdebuggers/cmdlinedebuggerbase/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggergdbmi/units/x86_64-linux/gtk2 -Fu../components/lclextensions/lib/x86_64-linux-gtk2 -Fu../components/virtualtreeview/lib/x86_64-linux-gtk2 -Fu../components/fpdebug/lib/x86_64-linux -Fu../components/lazdebuggers/lazdebuggerfp/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggers/lazdebuggerlldb/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggers/lazdebuggerfplldb/lib/x86_64-linux/gtk2 -Fupackages/ideconfig/lib/x86_64-linux/gtk2 -Fupackages/idedebugger/lib/x86_64-linux/gtk2 @/home/wgs/.lazarus/idemake.cfg'
make[2]: Entering directory '/usr/share/lazarus/3.6.0/ide'
/usr/bin/fpc -gl -vbqewnhi -Sci -dlclgtk2 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/3.2.2/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/gtk2 -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/12 -Fu../packager/units/x86_64-linux -Fu../components/codetools/units/x86_64-linux -Fu../components/debuggerintf/lib/x86_64-linux -Fu../components/lazutils/lib/x86_64-linux -Fu../components/freetype/lib/x86_64-linux -Fu../lcl/units/x86_64-linux -Fu../lcl/units/x86_64-linux/gtk2 -Fu../components/buildintf/units/x86_64-linux -Fu../components/ideintf/units/x86_64-linux/gtk2 -Fu../components/synedit/units/x86_64-linux/gtk2 -Fu../components/lazcontrols/lib/x86_64-linux/gtk2 -Fu../components/lazcontrols/design/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggers/lazdebuggerintf/lib/x86_64-linux -Fu../components/lazdebuggers/cmdlinedebuggerbase/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggergdbmi/units/x86_64-linux/gtk2 -Fu../components/lclextensions/lib/x86_64-linux-gtk2 -Fu../components/virtualtreeview/lib/x86_64-linux-gtk2 -Fu../components/fpdebug/lib/x86_64-linux -Fu../components/lazdebuggers/lazdebuggerfp/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggers/lazdebuggerlldb/lib/x86_64-linux/gtk2 -Fu../components/lazdebuggers/lazdebuggerfplldb/lib/x86_64-linux/gtk2 -Fupackages/ideconfig/lib/x86_64-linux/gtk2 -Fupackages/idedebugger/lib/x86_64-linux/gtk2 @/home/wgs/.lazarus/idemake.cfg -dx86_64 lazarus.pp
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Hint: (11030) Start of reading config file /home/wgs/.lazarus/idemake.cfg
Hint: (11031) End of reading config file /home/wgs/.lazarus/idemake.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling lazarus.pp
(9022) Compiling resource /home/wgs/.lazarus/units/x86_64-linux/gtk2/lazarus.or
(9015) Linking /home/wgs/.lazarus/bin/lazarus
/usr/bin/ld: cannot find -lGL: No such file or directory
make[2]: *** [Makefile:4365: lazarus] Error 1
make[1]: *** [Makefile:4804: ide] Error 2
make: *** [Makefile
/usr/share/lazarus/3.6.0/ide/lazarus.pp(171,1) Error: (9013) Error while linking
/usr/share/lazarus/3.6.0/ide/lazarus.pp(171,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
make[2]: Leaving directory '/usr/share/lazarus/3.6.0/ide'
make[1]: Leaving directory '/usr/share/lazarus/3.6.0/ide'
make: Leaving directory '/usr/share/lazarus/3.6.0'
wie kann ich den Fehler beheben.
Grüße Acia6850