Impossible to install the latest version of Matlab Connector on a Linux computer

26 views (last 30 days)
I have installed the latest version of 2025b on a Linux system with Ubuntu 24.04.2 LTS.
It is not possible to install the Matlab connector (2025.11.0.2). The process is terminated and the following error is thrown:
  • Gtk-Message: 11:08:08.425: Failed to load module "gail"
  • Gtk-Message: 11:08:08.425: Failed to load module "atk-bridge"
I have never had any issues with the Connector whatsoever in the past. Following suggestions from the helpdesk, I did several things already: installing from a different folder, bypassing the firewall, disabling the router, install but not as superuser, fresh Matlab install, etc. It seems the installer completes extraction but fails to start services.
I am very much dependent on the Connector and it is very frustrating that 2025b & Connector do not work out-of-the-box. Furthermore, the process of troubleshooting has become beyond my expertise. What steps can I take to make it work? Is there a way to generate a log or something that can be used to understand the issue?

Answers (1)

Tridib
Tridib ongeveer 14 uur ago
The messages
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
usually mean that some GTK accessibility libraries are missing. These warnings do not always stop the installation, but they do show that some required packages might not be installed.
To fix this, install the missing GTK modules by running:
sudo apt update
sudo apt install libgail-common libatk-adaptor
Also, make sure all the other libraries that MATLAB needs on Ubuntu 24.04 are installed. This can be done with:
sudo apt install libnss3 libglu1-mesa libxrandr2 libxinerama1 libxcursor1 libxcomposite1
If the problem continues, try running the Connector installer from the terminal and save the output to a log file. Reviewing this log can help identify the issue.
Also, check that security programs like AppArmor or SELinux are not blocking the installation or stopping services from starting. Ensure the installer has the necessary permissions and that the user account has the right access. If the Connector was installed previously, remove any old installations completely before trying again.
Hope this helps!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!