필터 지우기
필터 지우기

undefined symbol: g_unicode_​script_get​_type

조회 수: 45 (최근 30일)
Jan Hermes
Jan Hermes 2019년 8월 29일
편집: Renan Silva 2021년 4월 21일
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
  댓글 수: 1
Athanasios Tasoglou
Athanasios Tasoglou 2020년 9월 18일
Thanks! I can confirm this also works for me under Arch Linux (Sept 2020).

댓글을 달려면 로그인하십시오.

채택된 답변

Jan Hermes
Jan Hermes 2019년 8월 29일
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

추가 답변 (2개)

Joshitha R
Joshitha R 2020년 9월 3일
the error that was actually thrown to me was:
/usr/local/MATLAB/R2019b/bin/glnxa64/jcef_helper: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_ptr_array_copy
these are the commands I used:
mkdir $Matlab_root/cefclient/sys/os/glnxa64/0_excluded
mv $Matlab_root/cefclient/sys/os/glnxa64/libg* $Matlab_root/cefclient/sys/os/glnxa64/0_excluded
I can now view my Documentation window and the Live scripts

zoidberg
zoidberg 2019년 9월 19일
Hello Jan,
I'd like to point out that I experienced the same problem with R2019b and Arch (actually, Manjaro). What solved it for me was to relink the libraries listed here, i.e.
libgio-2.0.so
libglib-2.0.so
libgmodule-2.0.so
libgobject-2.0.so
libgthread-2.0.so
(remember to relink both the .so and the .so.0 files).
  댓글 수: 3
Joshitha R
Joshitha R 2020년 9월 3일
@zoidberg
@Dylan Schroedinger
I am using Manjaro linux as well and running R2019b and get this error:
/usr/local/MATLAB/R2019b/bin/glnxa64/jcef_helper: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_ptr_array_copy
What do you mean by 'relinking' the above listed libraries? How do I go about it?
Renan Silva
Renan Silva 2021년 4월 21일
편집: Renan Silva 2021년 4월 21일
This link is for which file?
Would it be this?
ln -s /lib/x86_64-linux-gnu/libgthread-2.0.so /home/aryel/softwares/MATLAB/R2018a/cefclient/sys/os/glnxa64/libgthread-2.0.so
My matlab is installed in:
/home/aryel/softwares/MATLAB/R2018a/

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Robust Control Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by