version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

在python中运行如下:

$   python
>>>   import wx

输出:symbol _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE5eraseEmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference。

以前运行C++程序也出现过类似问题,当时采用静态链接标准库的方法解决的。

 

占行

posted @ 2017-11-23 11:43  newer92  阅读(2394)  评论(0编辑  收藏  举报