0

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.

Employed Russian
  • 182,696
  • 29
  • 267
  • 329
camino
  • 9,449
  • 19
  • 60
  • 105

0 Answers0