MATLAB Answers

lipango symbol lookup error during installation on openSUSE Tumbleweed

16 views (last 30 days)
Piotr Nowakowski
Piotr Nowakowski on 9 Sep 2020
Commented: Patrick McNeil on 6 Oct 2020
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.

  0 Comments

Sign in to comment.

Answers (2)

Patrick McNeil
Patrick McNeil on 14 Sep 2020
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

Marco Cantoro
Marco Cantoro on 6 Oct 2020
Perfect answer, the only difference that i've encountered is that this operation could be performed only after the installation.
Patrick McNeil
Patrick McNeil on 6 Oct 2020
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.


Aditya Patil
Aditya Patil on 24 Sep 2020
For any installation related queries, contact MathWorks support using the contact us page.

  0 Comments

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!