Latest version of MATLABConnector Linux problem
이전 댓글 표시
The MATLAB connector version 2025.2.2.1 (latest version ... upgraded just now) produce the following Warning message during startup:
$ MATLABConnector start
$ Warning: program compiled against libxml 212 using older 209
I am using LinuxMint 21.1 (equivalent to the Ubuntu 24.04.1).
Any idea, what is wrong??? Previos version 2025.2.0.3 works without any warning message.
댓글 수: 6
Jeff Mandel
2025년 4월 7일
I noticed this as well, both with MLC and running matlab from the command line. The issue is caused by:
/usr/lib/x86_64-linux-gnu/libxml2.so.2 -> libxml2.so.2.9.14
/usr/lib/x86_64-linux-gnu/libxml2.so.2.9.14
vs
/usr/local/MATLAB/R2024b/bin/glnxa64/libxml2.so.2.12.5
209 is the version in 24.04; 212 first appears in 24.10. You could change the link for /usr/lib/x86_64-linux-gnu/libxml2.so.2 to point to /usr/local/MATLAB/R2024b/bin/glnxa64/libxml2.so.2.12.5, but there might be consequences for other programs that link to libxml2. Conversely, MathWorks could explain what nifty new features depend on 212 that would make me want to upgrade from a LTS version of Ubuntu, or test new releases on the most recent LTS version.
Joonas
2025년 6월 12일
I have the same issue with Ubuntu 24.04 LTS.
Torben Knudsen
2025년 10월 22일
I also got this error today
Warning: program compiled against libxml 213 using older 209
Michal
2025년 10월 22일
Torben Knudsen
2025년 11월 3일
I did apt update, apt upgrade and then the reinstall of MathWorksServiceHost which seems to solve my problem even though I got some messages
Gtk-Message: 08:19:10.739: Failed to load module "gail"
Gtk-Message: 08:19:10.739: Failed to load module "atk-bridge"
Thanks for the help
답변 (1개)
Swastik Sarkar
2025년 6월 16일
0 개 추천
It has been observed that this warning typically appears only during the initial launch of MATLAB, when the MathWorks Service Host is installing itself for the first time. After this initial setup, the warning does not reoccur under normal circumstances.
However, the warning may reappear if the MathWorks Service Host has been uninstalled, as the system will attempt to reinstall it upon the next startup.
A clean installation of MATLAB Connector may help resolve this issue. Further guidance is available in the following MATLAB Answer:
I hope this helps.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!