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 views (last 30 days)
Show older comments
MathWorks Support Team
on 28 Dec 2017
Edited: MathWorks Support Team
on 7 Jun 2024
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'
Accepted Answer
MathWorks Support Team
on 5 Jun 2024
Edited: MathWorks Support Team
on 7 Jun 2024
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!