Why do I get a "libXt.so.6: cannot open shared object file" error when trying to open any ".ctf" apps on my MATLAB R2024a Web App Server Running on CentOS?

44 ビュー (過去 30 日間)

I have a web app server running on CentOS 9 which seems to start and run normally. I can upload ".ctf" file to my server and they successfully show up on my web app server with their status listed as "ok". However, when I click on one of the apps to open it, it does not open, and eventually I receive the error:

Something went wrong. Click "OK" or refresh to page to restart the app
After enabling verbose logging on my server and looking at the "webapps_launcher_<timestamp>.log" log I see multiple occurrences of this error:

Error loading /usr/local/MATLAB/MATLAB_Runtime/R2023b/bin/glnxa64/matlab_startup_plugins/matlab_graphics_ui/mwuixloader.so. libXt.so.6: cannot open shared object file: No such file or directory
What is this error and why can't I open applications on my web app server?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 6 月 6 日
For this error, it seems like you might be missing a library needed for graphics. You should be able to install this using your preferred package manager, for example:
sudo apt-get install libxt6
To resolve the error, try installing the missing library mentioned above and restarting the server.
The reason this library is missing which triggered the error is likely related to the specific Linux distribution. As mentioned in the following documentation, CentOS 9 is unfortunately not one of our supported operating systems. However, it is still possible to work with CentOS when installing the necessary packages.
 
MATLAB and Simulink are validated on standard installations of the distributions listed on the above page. “Minimal” or “core” installations of Linux may lack the necessary software packages required to install and run MATLAB and Simulink. Information about which packages are required to run MATLAB is available here:
In addition to installing "libxt6" to resolve this issue, you should also confirm that you have all libraries required from the above MATLAB Answers post.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Production Server についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by