sometimes when compile an open source project will encounter an error like this:
./appname: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./appname)
strings command will print out many GLIBCXX:
$strings /usr/local/lib64/libstdc++.so.6.0.20 |grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
....
GLIBCXX_3.4.20
I am wondering what does GLIBCXX_??? used for and why there are many version of GLIBCXX in the libstdc++.so.6.0.20 file?
Thanks.