G++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

xinshouke picture xinshouke · Jan 6, 2016 · Viewed 33.9k times · Source

I'm studying qt on platform Fedora linux, It threw a g++ error as below while I make a sample cpp

g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

Would who indicate how to do for me please?

Answer

Jakuje picture Jakuje · Jan 6, 2016

You need to install redhat-rpm-config which is required by some of the qt switches, probably:

sudo dnf install redhat-rpm-config

From AskFedora.