- Locate and extract the matlab_R2020b_glnxa64 file located in the installation package.
- In the extracted matlab_R2020b_glnxa64 folder, verify that the install script can now launch the MathWorks Installer, then close the Installer before continuing. (If it can not, you may need to redownload the installation files on a Linux machine.)
- Rename the archives folder in the extracted matlab_R2020b_glnxa64 folder to archives_old.
- Copy and paste the archives folder from the original download only files into the new extracted folder.
- Proceed with the installation
When running the MathWorks Installer on Linux, why do I get the error "install_unix: error while loading shared libraries and libexpat.so.1: file too short"
592 次查看(过去 30 天)
显示 更早的评论
When running the MathWorks installer on Linux for R2020a or newer, I get the following error:
/home/user/Downloads/matlab_R2020a_glnxa64/bin/glnxa64/bin/glnxa64/install_unix: error while loading shared libraries: /home/user/Downloads/matlab_R2020a_glnxa64/bin/glnxa64/libexpat.so.1: file too short
采纳的回答
MathWorks Support Team
2020-11-5
编辑:MathWorks Support Team
2020-11-5
This error is typically caused by broken symbolic links within the installer as a result of downloading and zipping the Download Only contents on a Windows machine before moving them over to the Linux machine.
To resolve this error, you may redownload the Download Only installation package on a Linux machine, or you may perform the following solutions:
A) Unzip the Download Only installation files with -X -K flags. For example:
unzip -X -K matlab_R2020b_glnxa64.zip
B) Perform the following workaround:
1 个评论
Walter Roberson
2022-3-15
According to posix the only OS that has been posix certified in a number of years is MacOS
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!