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

在python中运行如下:

1
2
$   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 @   newer92  阅读(2410)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示