Import Error: No module name libstdcxx

前端 未结 4 1674
醉梦人生
醉梦人生 2020-12-31 07:41

When I use gdb to debug my C++ program with segmentation fault, I come with this error in gdb.

Traceback (most recent call last):

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-31 08:34

    This is a bug in /usr/lib/debug/usr/lib/$triple/libstdc++.so.6.0.18-gdb.py; When you start gdb, please enter:

    python sys.path.append("/usr/share/gcc-4.8/python");

提交回复
热议问题