Skip to content

Instantly share code, notes, and snippets.

@yograterol
Created January 8, 2016 05:45
Show Gist options
  • Save yograterol/99c8e123afecc828cb8c to your computer and use it in GitHub Desktop.
Save yograterol/99c8e123afecc828cb8c to your computer and use it in GitHub Desktop.
"gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory" workaround
"gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory" CentOS's and Fedora +22 workaround
Install `redhat-rpm-config`
$ sudo dnf install redhat-rpm-config
@nealpaze
Copy link

Thank you!

@daubac402
Copy link

❤️

@neolai68
Copy link

thanks!

@mandres
Copy link

mandres commented Apr 13, 2022

Thanks!

@justunsix
Copy link

Thanks, works also for similar error /usr/lib/rpm/redhat/redhat-annobin-cc1: No such file or directory

@SylvieCoz
Copy link

Thanks !

@Lazzlo2096
Copy link

Thanks!

@gouhao
Copy link

gouhao commented Jun 14, 2023

Thanks!

@garlic0x1
Copy link

👍

@jokvar
Copy link

jokvar commented Feb 7, 2024

👍

@Sose
Copy link

Sose commented Apr 10, 2024

Thanks! First search result, fixed my issue. Fedora 39. 👍

@Heinrich-XIAO
Copy link

thanks IQ 1000000

@manururu
Copy link

Thank you, sir!

@theiconnz
Copy link

worked +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment