Forum > General
"Could not find libgcc" when trying to generate fppkg.cfg in Fedora 39
GhostCoder:
I've just installed Lazarus IDE 2.2.6 through Fedora 39's Discover Package Manager. The package installed was 2.2.6-5.fc39 However, I've been receiving the following error:
* Failed to generate the configuration file "/home/krisrh21/.config/fppkg.cfg": Could not find libgcc
Could not find libgcc
An unhandled exception occurred at $00000000004032E0:
EInOutError: Access denied
$00000000004032E0
After this error, the following error then pops up:
* Failed to create a new Fppkg configuration () You will have to fix the configuration manually or reinstall Free Pascal.
These startup errors doesn't stop Lazarus from working normally nor prevent me from working on any Pascal projects, but it will prevent me from installing packages is what I'm guessing.
In Konsole, I've queried Fedora if libgcc is installed with the command sudo dnf list libgcc and found libgcc 13.2.1-4.fc39 is indeed installed. I've attached a screenshot of the error as received by Lazarus IDE 2.2.6.
How do I fix this?
zeljko:
Try to install libgcc-devel if it exists (maybe helps)
GhostCoder:
sudo dnf install libgcc-devel reports the following error in Konsole:
* No match for argument: libgcc-devel
Error: Unable to find a match: libgcc-devel
Could I try copying libgcc over to Lazarus's directory and see if that fixes the problem?
Seenkao:
--- Quote from: GhostCoder on November 21, 2023, 07:19:08 am ---libgcc-devel
--- End quote ---
libgcc-dev
GhostCoder:
sudo dnf install libgcc-dev produces error:
* No match for argument: libgcc-dev.
Navigation
[0] Message Index
[#] Next page