undefined symbol xcb_shm_id when trying to startup MatLab
이전 댓글 표시
When trying to start up MatLab, I get
> ./bin/matlab
MATLAB is selecting SOFTWARE rendering.
/home/pblase/.MathWorks/ServiceHost/clr-df9a0cbb6bd34e079ef626671d1a7b7c/_tmp_MSHI_5363-9225-767d-e56f/mci/_tempinstaller_glnxa64/bin/glnxa64/InstallMathWorksServiceHost: symbol lookup error: /usr/lib64/libcairo.so.2: undefined symbol: xcb_shm_id
/home/pblase/.MathWorks/ServiceHost/clr-df9a0cbb6bd34e079ef626671d1a7b7c/_tmp_MSHI_5363-9225-767d-e56f/mci/_tempinstaller_glnxa64/bin/glnxa64/InstallMathWorksServiceHost: symbol lookup error: /usr/lib64/libcairo.so.2: undefined symbol: xcb_shm_id
Unexpected exception: 'N7mwboost10wrapexceptINS_16exception_detail39current_exception_std_exception_wrapperISt13runtime_errorEEEE: Error loading /home/pblase/matlab/bin/glnxa64/matlab_startup_plugins/matlab_graphics_ui/mwuixloader.so. /usr/lib64/libXt.so.6: undefined symbol: SmcModifyCallbacks: Success: Success' in createMVMAndCallParser phase 'Creating local MVM'
댓글 수: 8
dpb
2024년 9월 2일
Mathworks supports install/startup issues; contact them directly. Monday is, however, a US holiday if are in US...
Paul
2024년 9월 2일
dpb
2024년 9월 2일
Won't be until tomorrow and if used email, then it may be another day or so. Pick up the phone...
Ibrahim
2024년 9월 3일
Whilst I may not be the OP, I am currently following the thread over on https://community.clearlinux.org/t/matlab-installation/9951/4 and got myself a trial version
OS: Clear Linux OS
Version: 42280
Matlab version: R2024a
Bundle devpkg-pango is added, please find gist with complete list of files available for easy ctrl+f https://gist.github.com/K1ngfish3r/e750cc7e05b2e9b24848d987697a395e
Trying to install following the instructions in the .pdf I come across this error:
i@clr~/Downloads/Matlab $ xhost +SI:localuser:root
localuser:root being added to access control list
i@clr~/Downloads/Matlab $ sudo -H ./install
Password:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 127
Aborted
i@clr~/Downloads/Matlab $
Followed the arch wiki post here to try and solve this: https://wiki.archlinux.org/title/MATLAB#Unable_to_launch_the_MATLABWindow_application and ran into this
i@clr~/Downloads/Matlab $ ./bin/glnxa64/MATLABWindow
./bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib64/libcairo.so.2: undefined symbol: xcb_shm_id
Paul
2024년 9월 4일
Paul
2024년 9월 4일
Paul
2024년 9월 4일
채택된 답변
추가 답변 (1개)
Paul
2024년 9월 4일
0 개 추천
댓글 수: 5
Paul
2024년 9월 4일
Ibrahim
2024년 9월 4일
¯\_(ツ)_/¯
my one needed some "convincing", i just tapped the text box a couple of times
dpb
2024년 9월 4일
The Answers forum is not official Mathworks support; there's no guarantee anybody from the organization will see this thread. I would strongly recommend submitting an official bug/enhancement report over the issue
Paul
2024년 9월 4일
if you stilll have that R2021a install kicking around try doing a `diff` between the libs used in R2024 and R2021
ldd /usr/local/MATLAB/R2024a/bin/glnxa64/MATLABWindow > r2024.txt
ldd /usr/local/MATLAB/R2021a/bin/glnxa64/MATLABWindow > r2021.txt
diff r2024.txt r2021.txt
Find any libs that are different (location-wise) and mv them elsewhere. This could remedy the text input issue
This obviously hinges on the fact that R2021a is working well (I have no idea, Im just a gamer)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
