If durring the install for matlab you recieve this error:
update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
try install the libxp-dev package:
apt-get install libxp6 libxp-dev
yum install libXp libXp-devel
MathWorks official answer: MathWorks support solution 1-12E9FJ via MathWorks Tech Notes
This library has to do with "X Printing Extension (Xprint) client library"
My method for finding this solution (before MathWorks posted solution 1-12E9FJ) may work in other cases. I'm seeing searchs for libxmu.so.6 that end up on my site. What I do fist when I have a missing library error, like these, is go to http://packages.debian.org or packages.ubuntu.com depending on the OS. then I so a package contents search for the library and my OS version. Ie:
packages.debian.org >> "Search the contents of packages" >> "paths ending with the keyword" >> Distrobution: testing >> Architecture: AMD64 >> libxp.so.6 >> search
This should yield the necessary package. I then check if I have said package installed.
dpkg -s ::packagename::
If it's not then I install it.
sudo apt-get install ::packagename::
other wise you have a bigger problem and should consult Google or generally more helpful the official IRC support channel for you OS.
....or "ln -svi /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libXp.so.6 /usr/local/lib/", in case you have already installed libxp6 and matlab still can't find it....ReplyDelete
Yupp, that works to! Thanks for the additional input.Delete
Thanks for your help! :)ReplyDelete