Skip to content

Instantly share code, notes, and snippets.

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

👍

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