Recent

Author Topic: Installing Lazarus on Fedora 36  (Read 873 times)

wmeyer

  • New Member
  • *
  • Posts: 26
Installing Lazarus on Fedora 36
« on: October 14, 2022, 01:35:46 am »
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.

dbannon

  • Hero Member
  • *****
  • Posts: 2796
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Installing Lazarus on Fedora 36
« Reply #1 on: October 14, 2022, 02:24:33 am »
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....

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Zvoni

  • Hero Member
  • *****
  • Posts: 2327
Re: Installing Lazarus on Fedora 36
« Reply #2 on: October 14, 2022, 09:07:08 am »
probably the dev-packages for OpenGL missing
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

 

TinyPortal © 2005-2018