link: http://www.mathworks.de/support/bugreports/961964
Summary
Linear algebra functions could return "cannot load any more object with static TLS" error on Linux machines.
Description
On Linux machines, when performing linear algebra operations such as matrix multiplications, MATLAB could return the following error:
>> b = ones(10)*ones(10);
Error using *
BLAS loading error:
dlopen: cannot load any more object with static TLS
Any subsequent linear algebra operations will return the same error. You must restart MATLAB in order to perform further linear algebra operations.
Workaround
To work around this issue, download and install the attached .zip file using the following instructions.
Installation instructions
- Log in to an account with appropriate permissions to overwrite files in your MATLAB installation. On Linux systems, this is typically theroot account.
- Locate your MATLAB installation by typing matlabroot at the MATLAB command prompt. This folder is referred to as<MATLAB> in subsequent steps.
- Exit MATLAB.
- Download the attached .zip file associated with this Bug Report and store the file in the<MATLAB> folder.
- Make a backup copy of each of the files listed in the .zip file. To see the contents of the.zip file:
- Type the following in a shell:
unzip -l <MATLAB>/attachment_961964_12b_13a_13b_14a_glnxa64_2014-01-30.zip
- Type the following in a shell:
- Extract the files from the .zip file.
- Type the following in a shell:
cd <MATLAB>
unzip attachment_961964_12b_13a_13b_14a_glnxa64_2014-01-30.zip
- Type the following in a shell:
- Delete the .zip file in the <MATLAB> folder.
Change Log:
January 30, 2014: attachment_961964_12b_13a_13b_14a_glnxa64_2014-01-30.zip: initial version