MATLAB is selecting SOFTWARE OPENGL rendering.

17 次查看(过去 30 天)
Hi I'm running MATLAB R2019b on linux Manjaro KDE. Whenever I start MATLAB on the terminal, the terminal shows the following message. I can still use MATLAB although it shows this message. The thing is I have to keep the terminal open to use MATLAB. Any idea why this happens and is there any solution to try?
MATLAB is selecting SOFTWARE OPENGL rendering.
Gtk-Message: 11:06:27.708: Failed to load module "canberra-gtk-module"
/usr/local/MATLAB/R2019b/bin/glnxa64/jcef_helper: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol:
g_memdup2

回答(1 个)

Walter Roberson
Walter Roberson 2021-8-15
It appears that g_memdup2 is defined in libglib-2.0
I find hints in https://www.reddit.com/r/Lutris/comments/mvvtwx/importerror_usrliblibgirepository10so1_undefined/ that the glib loaded by MATLAB might be conflicting with the system glib. If so then experiment with moving aside the glib that is underneath the MATLAB installation, so it would find the system glib .
No promises -- I have never used manjaro myself.
  2 个评论
Minju Jeong
Minju Jeong 2021-8-15
Thanks a lot. Would you be more specific about Matlab finding the system glib?
Walter Roberson
Walter Roberson 2021-8-15
I have not used Linux for several years, so I do not know exactly where in the installation directory MATLAB's glib* would be located. However once you locate it and rename it to something that does not end with .so or .so.DIGITS then MATLAB would look for whatever glib is installed for the operating system as a whole.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by