Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'
古いコメントを表示
I use "MatLab" in an old SUN workstation in Linux environment. It is too old to run "MatLab 2015b" and cant not be upgraded. So I use "ssh -XC" to connect to a new Linux server and run "Matlab 2015b". It works normally when I do computation or run a matlab script without plot. However, when I try to generate a figures, it shows error message as:
Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'
for example:
>> clear all;
>> x = linspace(0,2*pi,1001);
>> y = sin(x);
>> plot(x,y)
Error using gca
While setting the 'Parent' property of 'Axes':
Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'
Error in newplot (line 68)
ax = gca(fig);
I did check the file, "libmwosgserver.so" and it indeed in the fold. What is the problem and how to solve it?
Huang
8 件のコメント
Walter Roberson
2016 年 2 月 3 日
編集済み: Walter Roberson
2016 年 11 月 8 日
Maybe of relevance, perhaps:
Werner Pitsch
2017 年 2 月 6 日
I have the same problem with R2016a and R2016b. The hints to the solutions did not help. Funnily enough, the problem does not occur when I start Matlab after having newly installed. But as soon as the Computer has been shut down and restarted, the problem occurs.
Juan David González Puentes
2017 年 3 月 8 日
I have the same problem in fedora
RM
2017 年 6 月 26 日
Same problem with fedora 25
Joseph Corneli
2017 年 6 月 27 日
I had the same problem. I was able to solve it by copying the relevant dynamic library into place.
cp /usr/lib64/libstdc++.so.6 /usr/local/MATLAB/R2017a/bin/glnxa64
Ulrich
2017 年 7 月 20 日
Joseph Corneli's solution works for me on Fedora 25. Although it is kind of ugly, since the library will not be affect through updates. But hey, it works for now!
Let it Flow
2017 年 9 月 7 日
Same for me Fedora 26, it fixes the problem
While the basic idea of Joseph is correct, make MATLAB use the same libstdc++ version as your system, there is a slightly better option where you actually make MATLAB use your system's libstdc++ itself (which also then addresses Ulrich's comment). See the answer I posted below.
採用された回答
その他の回答 (3 件)
Amose Yao
2017 年 1 月 21 日
0 投票
Did you solve this problem? How? thx~
Khurram Aziz
2019 年 9 月 29 日
0 投票
To those people having issues related to rendering after the above fix, try starting matlab with the -softwareopengl option. I was getting the same error and starting with this option fixed it - I'm not tech savvy enough to know why though.
1 件のコメント
Thomas O'Neill
2020 年 10 月 2 日
We have the same problem as above but that option didn't work for us
Sergio Duarte
2020 年 4 月 3 日
0 投票
You can look this:
1 件のコメント
Walter Roberson
2020 年 4 月 4 日
That was a different bug related to TLS entries, and the error message for that bug always mentions "TLS".
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!