[Linux] Error in MatlabWindow after upgrading Ubuntu from 20.04 to 22.04

12 vues (au cours des 30 derniers jours)
Dean Millard
Dean Millard le 11 Fév 2025
Have an error with MATALBWindow occouring when trying to run simulink in Matlab 2018b after upgrading to Ubuntu 22.04. Matlab doesnt give a name for the missing package so have assumed its a missing package nested deep or an incorrect package version after upgrading.
Traced it as far as running MATLABWindow from command line and doing an ldd of the offending package.
./MATLABWindow: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_memdup2
/usr/local/MATLAB/R2018b/bin/glnxa64$ ldd /lib/x86_64-linux-gnu/libpango-1.0.so.0
linux-vdso.so.1 (0x00007ffd913b3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f83b0833000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f83b06f9000)
libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f83b0699000)
libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f83b04bf000)
libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f83b04a1000)
libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f83b0496000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f83b03c7000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f83b019e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f83b0999000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f83b0128000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f83b011b000)
libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f83b0112000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f83b00f6000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f83b00b2000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f83b0086000)
libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f83b007d000)
libfreetype.so.6 (0x00007f83afc00000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f83b0054000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f83b001d000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f83aff86000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f83aff81000)
Not used to solving linux problems yet so any help diagnosing the issue is appreciated.
Currently using two versions of Matlab: 2023b and 2018b.
And no, I cannot upgrade 2018b (need it for HDL coder).

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 13 Fév 2025

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by