Matlab R2017b + Slackware 14.2 = missing

Installing newer versions of Matlab on not-PAM-ified linux requires supplying somewhere.

The normal error you will get without Linux-PAM is:

/usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB: error while loading shared libraries: cannot open shared object file: No such file or directory

In a Matlab-only install (without Simulink or pretty much anything else) I so far counted it being used 338 time in different .so libs as a dependency (that DOES NOT MEAN anything is actually being used from it). So far supplying a dummy seems to do a trick:

One method (as proposed in a topic by drumz) is to:
1. grab
2. build the packages
3. extract from it, where XX is the current version
4. copy to your Matlab bin/glnxa64 directory, in my case: /usr/local/MATLAB/R2017b/bin/glnxa64
5. go to it: cd /usr/local/MATLAB/R2017b/bin/glnxa64
6. make a link: ln -s

Second method, without compilation:
1. grab a ready-made package for linux-pam, for example:
(direct link:
2. extract from it, in this precise case:
tar -xvJf linux-pam-1.3.0-x86_64-1gds.txz usr/lib64/ –strip=2
(J to extract from .xz file, –strip=2 to get rid of usr/lib64 in front)
3. cp
4. cd /usr/local/MATLAB/R2017b/bin/glnxa64
5. ln -s

(Yeah, I know this is not new, but I need it here on the barelywalking in case I umm… like… forget. Happens more often than you think)


Comments are closed.