Unintentionally I erased my system gcc with a manually built one. To get things back, I did yum reinstall gcc and gcc --version attested that the initial version was back:$ which gcc/usr/bin/gcc$ gcc --versiongcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)...However, when I try to compile code I get the following error:g++: fatal error: -fuse-linker-plugin, but liblto_plugin.so not foundI looked at /usr/lib64 and /usr/lib and didn't found any symlink to liblto_plugin.so. I discovered that it was in /usr/libexec/gcc/x86_64-redhat-linux/4.8.3/liblto_plugin.so.Then I made several efforts to point the compiler to it:g++ hello.cpp -L/usr/libexec/gcc/x86_64-redhat-linux/4.8.3/export LD_LIBRARY_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.8.3/:$LD_LIBRARY_PATHcd /usr/lib64 ln -s /usr/libexec/gcc/x86_64-redhat-linux/4.8.3/liblto_plugin.socd ~; g++ hello.cpp -L/usr/lib64/ldcondig -n /usr/libexec/gcc/x86_64-redhat-linux/4.8.3/None of that helped. The error still appears. What should I do?
Shared libraries for GCC installed via yum on Fedora 20
yum;gcc;dynamic linking