Matlab and Ubuntu fresh installations: buttons (log in, Add-Ons) do not work
5 views (last 30 days)
Show older comments
Ruslan Lagashkin
on 9 Sep 2018
Commented: Ruslan Lagashkin
on 14 Sep 2018
Under Add-Ons:
- "Get Add-Ons": does nothing
- "Manage Add-Ons": does nothing
- "Package Toolbox": successfully opens empty .prj window
- "Get Hardware Support Packages": does nothing
- "Check for updates": seems to work
"log in" button does not work.
Trying to start Simulink, Library Browser shows up, but the main window fails with the following error in the Matlab console:
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
> In sltemplate.ui.StartPage/showWithFallback
In sltemplate.ui.StartPage.show
>>cd(matlabroot)
>>! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0: undefined symbol: g_log_structured_standard
I am running a fresh installation of Linux Mint 19, which is built up on Ubuntu and should be the same in terms of packages installation and running.
0 Comments
Accepted Answer
Akshay Khadse
on 14 Sep 2018
This error usually occurs when there are incompatible libraries.
As you mentioned, 'libatk-1.0.so.0' is causing this issue on your system. You can try setting aside MATLAB’s copy of the same library, located in 'matlabroot/cefclient/sys/os/glnxa64'.
Assumuing that you are using MATLAB R2017b, to set aside MATLAB’s copy of the 'libatk-1.0.so.0' library (for example), please navigate to MATLAB R2017b installation location in your system and remove the “libatk-1.0.so.0” library file shipped with MATLAB R2017b, so that MATLAB will use the system version of that library:
'matlabroot/sys/os/glnxa64'
Note: Here 'matlabroot' is the location in your system where MATLAB R2017b is installed.
Eg: ‘/usr/local/MATLAB/R2017b’.
Following are the commands to execute in linux shell to perform the above mentioned operation: (You may need root privilege)
# cd /usr/local/MATLAB/R2017b (or wherever you may have installed MATLAB)
# cd cefclient/sys/os/glnxa64 (or whichever directory is indicated in original ML Answer)
# mkdir exclude
# mv libglib-2.0.so* exclude/ (or whichever library is indicated in original ML Answer)
You could refer to the original MATLAB Answer you referred to here for more information. However, please read the note at the start of the answer as you will need to move any related libraries too.
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!