Ubuntu 24.10 Installation failed

175 views (last 30 days)
Sébastien Doré
Sébastien Doré on 25 Oct 2024
Answered: Divyanshu on 28 Oct 2024
Hi,
I am unable to install Matlab R2023b on a fresh Ubuntu 24.10 OS. Per the manual, this should do it.
xhost +SI:localuser:root
<installer_directory>/matlab_R2023b_glnxa64$ sudo -H ./install
But here's what I get when doing so:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 1
Aborted
Wandering on the popular search engines, I found the following links:
But nothing suggested resulted in a successful installation.
I also tried the following:
cd <installer_directory>/bin/glnxa64/
sudo mv libstdc++.so.6 libstdc++.so.6.0.old
sudo mv libstdc++.so.6.0.28 libstdc++.so.6.0.28.old
sudo apt-get install mesa-utils
sudo apt-get install lib64stdc++6:i386
and then running :
./bin/glnxa64/MATLABWindow
still ended up in:
./bin/glnxa64/MATLABWindow: /home/<user>/Downloads/matlab_R2023b_glnxa64/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libgallium-24.2.3-1ubuntu1.so)
./bin/glnxa64/MATLABWindow: /home/<user>/Downloads/matlab_R2023b_glnxa64/bin/glnxa64/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /lib/x86_64-linux-gnu/libLLVM.so.19.1)
./bin/glnxa64/MATLABWindow: /home/<user>/Downloads/matlab_R2023b_glnxa64/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM.so.19.1)
./bin/glnxa64/MATLABWindow: /home/<user>/Downloads/matlab_R2023b_glnxa64/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libLLVM.so.19.1)
./bin/glnxa64/MATLABWindow: /home/<user>/Downloads/matlab_R2023b_glnxa64/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.74)
So, I'm not quite sure what else I need to do... I must say I'm a newbie at Ubuntu (and linux in general, though I have played a bit with raspberry pis).
Any help would be greatly appreciated.
Regards,

Answers (1)

Divyanshu
Divyanshu on 28 Oct 2024
Please refer the following points:
  • A possible reason for 'version `GLIBCXX_3.4.29' not found' error can be that the libstdc++ library shipped with Ubuntu 24.10 may be older and may not contain the required GLIBCXX version that MATLAB requires. You can refer this MATLAB answer thread to resolve this error.
  • If it doesn't resolve the issue then ensure that you have permission to read and execute in the folder you are running ./install from, because the installation program needs to stat files in that folder structure; /home/[user]/MatlabR2023b_Linux_Install/bin/glnxa64/cef_locales/ to be specific, among others.
$ chmod 755 -R /home/[user]/MatlabR2023b_Linux_Install/
$ sudo ~/MatlabR2023b_Linux_Install/install
Hope it helps!

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!