Fix Matlab R2013b/R2014a BLAS loading error

Matlab R2013b has a known bug:

Error using * BLAS loading error: dlopen: cannot load any more object with static TLS

In Mathworks Bug 961964 it’s noted that the problem exists in R2012b, R2013a, R2013b, and R2014a.

  1. Download and extract
  2. Copy into /usr/local/MATLAB/R2014a/sys/os/glnxa64/


In R2013b and R2014a you may get


occasionally popping up in the Matlab command window. I have read in the forums that this is Java 7’s fault, and that disabling horizontal mouse scroll stops the MEvent.Case! message – which it does, but it also disables horizontal mouse scroll for all software.


  • Bug report (requires login to Mathworks) contains a .zip file containing dated Jan 30, 2014.