• ubuntu下matlab CAN'T RELOAD glnxa64/libmwhg.so'


    matlab 2017a安装运行后一直报错

    无法重新加载 '/usr/local/MATLAB/R2017a/bin/glnxa64/libmwhg.so'

    解决方案如下

    https://cn.mathworks.com/matlabcentral/answers/266515-can-t-reload-usr-local-matlab-res-2015b-bin-glnxa64-libmwosgserver-so

    This issue may be related to a version conflict between system libraries and the libstdc++ version included with MATLAB. You may be able to resolve this issue by making MATLAB use your system's libstdc++ instead of the libstdc++ shipped with MATLAB. While you can accomplish this in the way described by Joseph above, there is a better way:

    From a Linux shell (with appropriate permissions to make modifications in your MATLAB installation, i.e. use "sudo" if needed or work with your system administrator):

    1. cd into your MATLAB sys/os/glnxa64 directory.

    2. Create a new directory named "old":

    mkdir old

    3. Move libstdc++* into the old directory:

    mv libstdc++* old

    Now MATLAB no longer can find its own libstdc++ and it will automatically switch to working with your system's libstdc++.

    之后就正常运行,也不报错了。

    1. cd into your MATLAB sys/os/glnxa64 directory.

    2.sudo mkdir old

    3.sudo mv libstdc++* old

  • 相关阅读:
    栈与递归
    细说二叉树的删除操作
    二叉树
    链表队列
    数组队列
    链表栈
    c语言实现数组栈
    c语言实现双链表
    HDU 4557 非诚勿扰(Treap找后继)
    POJ 3481 Double Queue(Treap模板题)
  • 原文地址:https://www.cnblogs.com/gisalameda/p/8663193.html
Copyright © 2020-2023  润新知