Interesting that this question comes along.
Actually I have the exact same problem on CentOs 7. ./configure fails with the message that JSON can’t be configured. And in error.log it says that /lib64/libstdc++.so.6: version ‘GLIBCXX_3.4.21’ is not found. Any ideas how to approach this?