0%

资料:那些年我们一起调过的Bug

  • Ubuntu下上Matlab运行时terminal会提示一堆错误:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    libGL error: unable to load driver: vmwgfx_dri.so
    libGL error: driver pointer missing
    libGL error: failed to load driver: vmwgfx
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 155 (GLX)
    Minor opcode of failed request: 3 (X_GLXCreateContext)
    Value in failed request: 0x0
    Serial number of failed request: 31
    Current serial number in output stream: 34

    解决方法

    1
    sudo ln -sf /lib/libstdc++.so.6 /usr/local/MATLAB/R2015a/sys/os/glnxa64/libstdc++.so.6