MATLAB: Undefined symbol: g_unicode_​script_get​_type

linuxMATLABmatlabwindowpangosymbol lookup error

In matlab R2019 on current archlinux I get the following error on executing commands:
>> cd(matlabroot)
>> ! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_unicode_script_get_type
I could not find any dexcription of this error. Only similar ones were mentioned in combination with libpango as well. Downgrading libpango did not help. Excluding a lot of libraries from the glnxa64 folders also did not work.
Also looking at the library itself via:
readelf -Ws /usr/lib/libpango-1.0.so.0 | grep g_unicode
5: 00000000 0 FUNC GLOBAL DEFAULT UND g_unicode_script_get_type
Shows that the symbol indeed does exist.
Pango installed: pango-1:1.44.5-1

Best Answer

Ok in the end I manage to solve it by excluding libgobect from /sys/os/glnx64
cd MATLAB/R2019a/cefclient/sys/os/glnxa64
mkdir exclude
mv libgobject* exclude
Related Question