GLIBCXX versions

后端 未结 3 1639
旧时难觅i
旧时难觅i 2020-12-04 23:59

If I compile a C++ program on my machine, and run it on another one (with older software) I get: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9\' not found.

3条回答
  •  失恋的感觉
    2020-12-05 00:35

    In my opinion, if your binaries don't use the new features of newer GLIBCXX version, then they won't be linked with that version. So your binaries was linked with GLBCXX 3.4.9, there must be at least one symbol exported from it, and there're no any symbols exported from version newer than 3.4.9.

提交回复
热议问题