【1】bin/glnxa64/install_unix: error while loading shared libraries: /bin/glnxa64/libexpat.so.1: file too short
【2】terminate called after throwing an instance of ‘std::runtime_error’
what(): Unable to launch the MATLABWindow application
Aborted
实际上这种问题与matlab的解压方式有关。由于在目标服务器A没有root权限,我选择从本地解压(rar或UltraISO)后上传,或者从有权限的服务器B上mount(sudo mount -o loop YOUR.iso /mnt/cdrom/)后rsync同步过来(rsync -av --progress USR@IP_of_B:DIR ./)。在此过程中,rwx属性丢失外,软链接也失效(是R2020a的特殊之处),因而需要人为更改。目前需要更正的有:
bin/glnxa64/下的:
libexpat.so.1
libfreetype.so.6
libgdk-x11-2.0.so.0
libgtk-x11-2.0.so.0
libicudata.so.64
libicui18n.so.64
libicuuc.so.64
libXss.so.1
和cefclient/sys/os/glnxa64下的:
libffi.so.5
libgio-2.0.so.0
libglib-2.0.so.0
libgmodule-2.0.so.0
libgobject-2.0.so.0
例如: