Ubuntu 24.10 Installation failed

245 次查看(过去 30 天)
Sébastien Doré
Sébastien Doré 2024-10-25,18:47
回答: Barbara 2024-10-28,11:24
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,

回答(2 个)

Divyanshu
Divyanshu 2024-10-28,8:48
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!

Barbara
Barbara 2024-10-28,11:24
Hi! I had a similar struggle getting MATLAB to install on Ubuntu and finally found a reliable solution. I'd recommend checking out www.matlabassignmentexperts.com. They helped me troubleshoot issues like this and guide through setup and configuration. The best part that attracted me was that I could contact an expert directly via WhatsApp at +1 315-557-6473 or email at info@matlabassignmentexperts.com for real-time support. It was super helpful, especially as I was new to Linux too. Give them a try—it made a big difference for me!

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by