"The Live Editor is unable to run in the current system configuration" error message when starting Live Editor on Ubuntu 17.04+
69 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 Apr 2018
Edited: MathWorks Support Team
on 25 Mar 2025
When I open Live Editor in MATLAB on my Ubuntu 17.04 system, a message pops up saying "The Live Editor is unable to run in the current system configuration", and I am unable to use the Live Editor. Why is this happening? How can I fix it?
Accepted Answer
MathWorks Support Team
on 24 Mar 2025
Edited: MathWorks Support Team
on 25 Mar 2025
This is a bug in MATLAB R2017b (and later) that affects Ubuntu 17.04 (and later). Since the release of Ubuntu 17.04, the libgconf-2.so.4 library does not get installed unless it was already on the system prior to an upgrade. However, this library is needed by the Live Editor in order to run.
As a workaround, run the following command in the terminal to install the missing library:
sudo apt-get install libgconf2-4
Two other workarounds to try on an Ubuntu 24.04 machine (currently known in MATLAB R2024a) are:
1) Remove libstdc++.so.6 from the MATLAB R2024a area. It may also need to be removed from a MATLAB user's own ~/.MathWorks/ directory tree.
or
2) Set the env variable LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 when invoking MATLAB, which will hopefully force the system to prefer the system libstdc++.so.6 over the MATLAB copy.
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!