Recent

Author Topic: Error installation lazarus 2.0.12 on fedora 33 ( Solved )  (Read 2822 times)

young_nandy

  • New Member
  • *
  • Posts: 41
Error installation lazarus 2.0.12 on fedora 33 ( Solved )
« on: March 02, 2021, 01:54:02 pm »
Hello,

I tried to install lazarus 2.0.12 on fedora 33 (VirtualBox). but appears as below


(lazarus-ide: 2112): Gtk-WARNING **: 19: 50: 39.637: Unable to locate theme engine in module_path: "adwaita",


(lazarus-ide: 2112): Gtk-WARNING **: 19: 50: 39.820: Unable to locate theme engine in module_path: "adwaita",

Gtk-Message: 19: 50: 40.021: Failed to load module "pk-gtk-module"

[FORMS.PP] ExceptionOccurred

   Sender = Exception

   Exception = Could not load OpenGL from libGL.so.1

   Stack trace:

   $ 08D28585

   $ 08D2A5A8

TApplication.HandleException: Exception

Could not load OpenGL from libGL.so.1

   Stack trace:

   $ 08D28585

   $ 08D2A5A8

Exception at 08D28585: Exception:

Could not load OpenGL from libGL.so.1.


does anyone know the solution ?

Thank you,

Yudianto
« Last Edit: March 03, 2021, 05:18:31 am by young_nandy »

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Error installation lazarus 2.0.12 on fedora 33
« Reply #1 on: March 02, 2021, 02:55:26 pm »
Just guessing: perhaps the error message indicates you have not (properly) installed the adwaita theme, or that it is misconfigured?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Error installation lazarus 2.0.12 on fedora 33
« Reply #2 on: March 02, 2021, 03:08:47 pm »
Also just guessing: install mesa-libGL-devel ?

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: Error installation lazarus 2.0.12 on fedora 33
« Reply #3 on: March 02, 2021, 03:25:04 pm »
I'm using Ubuntu Mate and I know I have to instal libgl1-mesa-dev if I want to develop OpenGL programs. And for a very rare case, I need to do this:

sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/libGL.so

young_nandy

  • New Member
  • *
  • Posts: 41
Re: Error installation lazarus 2.0.12 on fedora 33
« Reply #4 on: March 03, 2021, 03:22:22 am »
Also just guessing: install mesa-libGL-devel ?


I've tried to install, but it's still the same error. thank you for helping

young_nandy

  • New Member
  • *
  • Posts: 41
Re: Error installation lazarus 2.0.12 on fedora 33
« Reply #5 on: March 03, 2021, 03:48:25 am »
I'm using Ubuntu Mate and I know I have to instal libgl1-mesa-dev if I want to develop OpenGL programs. And for a very rare case, I need to do this:

sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/libGL.so


I didn't try this command

sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/libGL.so

because the x86_64-linux-gnu folder and the libGL.so.1 file don't exist.

but I have fixed it with install

sudo dnf install mesa-libGLU.i686

sudo dnf install mesa-libGL-devel

but this error still appears when lazarus loads

Error: fpc.cfg is missing.

can anyone help?

young_nandy

  • New Member
  • *
  • Posts: 41
Re: Error installation lazarus 2.0.12 on fedora 33
« Reply #6 on: March 03, 2021, 05:18:07 am »
thank you for helping me to solve this problem. I've been successful in overcoming all the errors. with the last solution reinstalling the four rpm files.

thank you

 

TinyPortal © 2005-2018