解决 g++ error:/usr/lib/rpm/redhat/redhat-hardened-cc1 No that file and directory

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

sudo dnf install redhat-rpm-config
原文地址:https://www.cnblogs.com/sprinng/p/5234653.html