java.langU​nsatisfied​LinkError problem

15 次查看(过去 30 天)
Hi all,
I'm using MATLAB 2015a in Linux Ubuntu 19.04.
My Matlab interface is a mess with the buttons of the interfaces.
Sometimes the editor buttons do not work, sometimes the buttons and clicking in the main matlab window do not work.
I get the following error when clicking in the Community button, for example:
Exception in thread "XPCOMMessageLoop" java.lang.UnsatisfiedLinkError: /usr/local/MATLAB/R2015a/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/libxul.so: /lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.c(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.impl.linux.LinuxMozillaToolkit.a(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.MozillaToolkit.initialize(Unknown Source)
at com.teamdev.jxbrowser.gecko.xpcom.AppShellXPCOMThread$b.run(Unknown Source)
Does anybody know how to solve such problem?

采纳的回答

Rouhollah Abdollahi
Rouhollah Abdollahi 2019-12-22
Hi , Finally I could solve this problem using this link:
The solution is very simple, rename libfreetype.so.6 in the matlabroot/bin/glnxa64
sudo mv matlabroot/bin/glnxa64/libfreetype.so.6 matlabroot/bin/glnxa64/BK_libfreetype.so.6
I have tested it with 3 version of Matlab and works for them
Best
Rouhi
  5 个评论
Hyunjun Hyung
Hyunjun Hyung 2021-4-15
编辑:Hyunjun Hyung 2021-4-15
Thanks, It works for me on R2017a(Ubuntu20.04).

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by