Why do I receive xsetup errors regarding libXp.so.6 when installing or launching MATLAB on Fedora Core and Red Hat distributions?
13 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2013-2-14
编辑: MathWorks Support Team
2018-2-12
Upon starting the installer, I receive the following error:
Error while loading shared library libXp.so.6
Cannot open shared object file. No such file or directory.
采纳的回答
MathWorks Support Team
2013-2-14
This bug has been fixed in Release 2011b. For previous product releases, read below for any possible workarounds:
This error occurs when you are installing MATLAB on a distribution that does not contain this library. This occurs on newer Red Hat based distributions where libXp.so.6 has become deprecated. In order to install and operate MATLAB, you will need to obtain this library. Our development team is currently working to remove the dependencies but there is no timeframe for this change.
In newer distributions, you should be able to obtain this library from the following RPM files:
libXp-1.0.0*.i386 (32-bit)
libXp-1.0.0*.x86_64 (64-bit)
You can also use the yum package tool if available to install the libXp.so.6 library. If you have yum installed, run the following command to obtain the library:
For 32 bit:
sudo yum install libXp.so.6
For 64-bit:
sudo yum install libXp.x86_64
If this error occurs on a Debian system, you can use:
sudo apt-get install libxp6
Refer to the RPM sources for your particular distribution for more information about obtaining libXp.so.6.
2 个评论
Walter Roberson
2016-4-20
编辑:MathWorks Support Team
2018-2-12
https://packages.ubuntu.com/source/trusty/libxp
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!