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
@WantUzZ
Copy link

WantUzZ commented Jan 7, 2021

+1 3Q

@Themancodes
Copy link

+1 !! - Fedora 33 - rubypick

@AlanWCB2018
Copy link

+1 Thanks

@EddieCarrillo
Copy link

+1

@redrover9
Copy link

Worked, thanks

@namtrh
Copy link

namtrh commented Mar 16, 2021

worked, thanks bro

Copy link

ghost commented Jun 4, 2021

  • TY

@goldeneggg
Copy link

+1 ! @gcangussu

@keitalbame
Copy link

Thanks ๐Ÿ‘

@hoangvietdlsinc
Copy link

thanks

@guyfreund
Copy link

thanks ๐Ÿ‘

@mattearnie
Copy link

+1

@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. ๐Ÿ‘

@Heinrich-XIAO
Copy link

thanks IQ 1000000

@manururu
Copy link

Thank you, sir!

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