Forum > Linux

Installing Lazarus on Fedora 36


Basic installation was fine. After installing a number of online packages, however, when I tried to rebuild the IDE, I got errors:
Hint: (11031) End of reading config file /home/wmeyer/.lazarus/idemake.cfg
Free Pascal Compiler version 3.2.2 [2022/03/16] 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/wmeyer/.lazarus/units/x86_64-linux/gtk2/lazarus.or
(9015) Linking /home/wmeyer/.lazarus/bin/lazarus
/usr/bin/ld: cannot find -lGL
/usr/lib64/lazarus/ide/lazarus.pp(167,1) Error: (9013) Error while linking
/usr/lib64/lazarus/ide/lazarus.pp(167,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [Makefile:4667: lazarus] Error 1
Error: /usr/bin/ppcx64 returned an error exitcode
make[2]: Leaving directory '/usr/lib64/lazarus/ide'
make[1]: *** [Makefile:5105: idepkg] Error 2
make: *** [Makefile:3336: idepkg] Error 2
make[1]: Leaving directory '/usr/lib64/lazarus/ide'
make: Leaving directory '/usr/lib64/lazarus'

Have not had any similar issues with Lazarus 2.2.4 on Windows, nor on other Linux.

You might need to back out of those "online packages", in reverse order until it builds again cleanly. That will indicate which of those packages is causing the problem.

Then, you could tell us what that package is. Its probably a path issue but absolutely no point in guessing until you have narrowed it down a bit.

If you cannot get it to run at all (so you can remove the extra packages) don't bother to reinstall, just remove the config directory and start again. Its probably /home/$USER/.lazarus unless you have set it somewhere else....


probably the dev-packages for OpenGL missing


[0] Message Index

Go to full version