Skip to content

Instantly share code, notes, and snippets.

@yograterol
Created January 8, 2016 05:45
Show Gist options
  • Star 37 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • 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
@eliskvitka
Copy link

Thank you <3

@greedynamic
Copy link

Cool man!!

@diegomachadosoares
Copy link

+1!

@sukhjitsehra
Copy link

+1

@dannykansas
Copy link

You're amazing. Funny but somewhat sad that Red Hat doesn't provide these in docs in any obvious way - yeesh.

@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. 👍

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