lipango symbol lookup error during installation on openSUSE Tumbleweed

I tried with 2020a, 2019a, 2019b and each had the same problem.
When I start the installer, it returns:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
Aborted (core dumped)
The output of ! bin/glnxa64/MATLABWindow:
bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib64/libpango-1.0.so.0: undefined symbol: g_ptr_array_copy
I have no idea how to fix this problem.

Answers (2)

Hi Piotr,
Not sure if you have figured this out yet or not, so if not, this should help.
Have a look at: https://www.mathworks.com/matlabcentral/answers/364551-why-is-matlab-unable-to-run-the-matlabwindow-application-on-linux
The problem is actualy in glib and not in pango, even though that is the error that you see. You need to force the installer to use the system's copy of glib, by excluding Matlab's copy of libglib.
To do this, go to the directory where you unzipped the installer. Then:
find . -name "*glib*"
You should see it in: ./cefclient/sys/os/glnxa64/ You can then:
cd ./cefclient/sys/os/glnxa64/; mkdir Exclude; mv -i libglib-2.0.so libglib-2.0.so.0 libglib-2.0.so.0.5600.1 Exclude/
This will remove the Matlab version of glib, forcing the installer to use the system's version (which defines g_ptr_array_copy).
This is tested and works with Tumbleweed 20200905.
Patrick

2 Comments

Perfect answer, the only difference that i've encountered is that this operation could be performed only after the installation.
I guess it is true that this could be done after an installation, but I actually had to do it to get the installer running (hence the "./" paths), which were in a temporary directory where I had unzipped the installer. So in this case, I was actually fixing the installer, not the installed product. Take care.

Sign in to comment.

For any installation related queries, contact MathWorks support using the contact us page.

Categories

Products

Release

R2020a

Asked:

on 9 Sep 2020

Commented:

on 6 Oct 2020

Community Treasure Hunt

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

Start Hunting!