While attempting to compile a test sample together a library I needed, I received the following
/usr/bin/ld: cannot find -lstdc++
installing the following solved the issue. I didn’t even check if both installations are necessary – if you have the curiosity to dig further then send your conclusions, but all I wanted was a solution to the problem at hand, and here it is:
yum install libstdc++-devel yum install libstdc++-static