Matlab run time error in the terminal: Failed to load module: /usr/lib/x​86_64-linu​x-gnu/gio/​modules/li​bgiolibpro​xy.so

12 views (last 30 days)
MATLAB is selecting SOFTWARE OPENGL rendering.
/usr/local/MATLAB/R2022a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libproxy.so.1)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
gfx12 and newer are not supported on i965
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load swrast driver

Answers (1)

Vandit
Vandit on 1 Sep 2023
Hi,
The error message you provided suggests that there are some issues related to the OpenGL rendering and the required libraries in your MATLAB installation. It appears to be that 'libcanberra-gtk-module' does not exist or is corrupted. Installing or reinstalling the same would solve the issue.
Please refer the following document that provides a workaround for this issue:
Also to know more about 'Control OpenGL rendering', refer to the link below:
Hope this helps.
Thankyou

Categories

Find more on Startup and Shutdown 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!