You are not logged in.
I've been wrestling with this issue for a while. Simulink's syms function refuses to work in Matlab (while everything else mostly does) and I think it has something to with fontconfig.
Matlab's error trace:
Error using mupadmex
Error in MuPAD command:Error in symengine
Error in sym (line 184)
[~] = symengine;Error in syms (line 192)
toDefine = sym(zeros(1, 0));
error trace in console:
/usr/local/MATLAB/R2017a/toolbox/symbolic/mupad/../../../bin/glnxa64/mupkern: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var
Not really sure how to fix this, I've tried moving libfontconfig around and creating symlinks but I'm just confused.
Would appreciate any help, thanks.
Offline
Nvm, fixed. For anyone looking to figure it out, remove/rename libfreetype.so.6 and libfreetype.so.6.11 from
/usr/local/MATLAB/.../bin/glnxa64/
Then just symlink your files.
ln -s /usr/lib64/libfreetype.so.6 /usr/local/MATLAB/R2017a/bin/glnxa64/libfreetype.so.6
ln -s /usr/lib64/libfreetype.so.6.13.0 /usr/local/MATLAB/R2017a/bin/glnxa64/libfreetype.so.6.13.
Offline
Please remember to mark your thread as SOLVED by editing the first post and prepending [SOLVED] to the title.
Offline
Thanks for sharing.
I faced the same problem and your post helped me.
Offline
Thanks. The same solution worked for a similar error complaining about:
libmwmm_rmidd_mi.so
Offline