When starting a MATLAB Production Server instance, why do I receive the message in my log file "error while loading shared libraries: libGL.so.1: cannot open shared object file"
3 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2017 年 12 月 28 日
編集済み: MathWorks Support Team
2024 年 6 月 7 日
When trying to start MATLAB Production Server instance using "mps-start" I get the following error message:
'Server process exited with return code: 1'
Checking my log file, I see the following entry:
'[err] [worker:1] /usr/local/MATLAB/MATLAB_Runtime/v92/bin/glnxa64/mps_worker_app: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory'
採用された回答
MathWorks Support Team
2024 年 6 月 5 日
編集済み: MathWorks Support Team
2024 年 6 月 7 日
So far, this issue has been found in Ubuntu and Debian. This is most likely due to missing or outdated "Open Graphic Library" files.
To resolve the issue, you will have to download the "libGL" package with the following command:
>> sudo apt-get install libgl1-mesa-glx
If you are using the "yum" package manager with Linux rather than "apt-get", You should instead run either:
sudo yum install mesa-libGL
or
sudo yum install libglvnd-glx libXt
Afterwards, try restarting the instance and the error message should no longer appear.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!