libatk-1.0.so.0 error in ubuntu bionic 18.04 (or linux mint tara 19) using matlab r2018a.

19 ビュー (過去 30 日間)
everything installs fine, but then i try to open simulink this shows up.
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
> In sltemplate.ui.StartPage/showWithFallback
In sltemplate.ui.StartPage.show
so i ran on matlab r2018a diagnostic:
>> cd(matlabroot)
>> ! bin/glnxa64/MATLABWindow
and this shows up:
bin/glnxa64/MATLABWindow: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0: undefined symbol: g_log_structured_standard >>
please help me to fix this ;).
  1 件のコメント
Siegfried Rotthäuser
Siegfried Rotthäuser 2020 年 1 月 9 日
The problem is that Simulink bings its own set of libraries (like libglib-2.0.so.0 here) that could be incompatable with system libraries.
My solution is to remove Matlab's glib, in which case the system's glib is found.
cd $MATLABROOT
mv cefclient/sys/os/glnxa64/libglib-2.0.so.0 cefclient/sys/os/glnxa64/_libglib-2.0.so.0

サインインしてコメントする。

回答 (4 件)

Mateusz Litwin
Mateusz Litwin 2018 年 9 月 17 日
編集済み: Mateusz Litwin 2018 年 9 月 17 日
Try this solution (simulink works, for now I don't found any side-effects of this solution).
  1. Go to matlab root folder
  2. cd /cefclient/sys/os/glnxa64/
  3. mkdir bak
  4. mv * /
  5. mv bak/libcef.so ./
  2 件のコメント
Gordon Stevenson
Gordon Stevenson 2020 年 6 月 24 日
Thanks Mateusz, fixed issues on Ubuntu 18.04 for me
Gokarna Baskota
Gokarna Baskota 2021 年 7 月 27 日
$ mv * /
this delete all my files and mv command don't have undo feature. So, next command getting error.
how can I get those files??

サインインしてコメントする。


Koen Lekkerkerker
Koen Lekkerkerker 2018 年 7 月 23 日
I have this issue too.

Rene Essink
Rene Essink 2018 年 8 月 3 日
Same to me - any suggestions?

Diogo Duarte
Diogo Duarte 2019 年 11 月 20 日
Here's a solution based on Mateusz's:
There's an incompatibility between licef and libglib, so let's stop them from being in the same folder.
When I list
/usr/local/MATLAB/R2017a/cefclient/sys/os/glnxa64
I get:
libffi.so libgio-2.0.so.0 libgmodule-2.0.so.0.4200.2 libgthread-2.0.so
glib.tgz libffi.so.5 libgio-2.0.so.0.4200.2 libgobject-2.0.so libgthread-2.0.so.0
libcef.so libffi.so.5.0.2 libgmodule-2.0.so libgobject-2.0.so.0 libgthread-2.0.so.0.4200.2
libgio-2.0.so libgmodule-2.0.so.0 libgobject-2.0.so.0.4200.2
To make changes ot this folder you need root privileges. All commands below were executed as root.
Create a backup folder bak:
cd /usr/local/MATLAB/R2017a/cefclient/sys/os/glnxa64
mkdir back
Move glib there:
mv libglib* bak/
Optionally create a README text file indicating the changes you made for future reference.
After this change, I get the message:
[1120/181429:ERROR:browser_main_loop.cc(231)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
GLib-GIO-[1;32mMessage[0m: [34m18:14:29.911[0m: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[1120/181429:WARNING:cefclient_gtk.cpp(48)] X error received: type 0, serial 317, error_code 8, request_code 42, minor_code 0
But MATLABWINDOW seems to be working.
Running MATLAB R2017a on Linux Mint 19.1

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by