lipango symbol lookup error during installation on openSUSE Tumbleweed
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Patrick McNeil
2020-9-14
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 个评论
Marco Cantoro
2020-10-6
Perfect answer, the only difference that i've encountered is that this operation could be performed only after the installation.
Patrick McNeil
2020-10-6
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.
Aditya Patil
2020-9-24
For any installation related queries, contact MathWorks support using the contact us page.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!