Why do I receive xsetup errors regarding libXp.so.6 when installing or launching MATLAB on Fedora Core and Red Hat distributions?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 14 Feb 2013
Edited: MathWorks Support Team
on 12 Feb 2018
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.
Accepted Answer
MathWorks Support Team
on 14 Feb 2013
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 Comments
Walter Roberson
on 20 Apr 2016
Edited: MathWorks Support Team
on 12 Feb 2018
https://packages.ubuntu.com/source/trusty/libxp
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!