I run find /usr/local/MATLAB/R2017b -name libmwcpp11compat.so and it was found in the correct location, but it still showed that error while loading shared libraries: libmwcpp11compat.iso: cannot open shared object profile when loading MatLab2017b in linux
时间: 2024-04-22 14:24:19 浏览: 123
If the library `libmwcpp11compat.so` is found in the correct location, but you still encounter the "error while loading shared libraries: libmwcpp11compat.iso: cannot open shared object" issue when loading MATLAB 2017b in Linux, you can try the following additional steps:
1. Set the `LD_LIBRARY_PATH` environment variable to include the directory containing the `libmwcpp11compat.so` library. Open a terminal and enter the following command:
```
export LD_LIBRARY_PATH=/usr/local/MATLAB/R2017b/bin/glnxa64:$LD_LIBRARY_PATH
```
Replace `/usr/local/MATLAB/R2017b` with your actual MATLAB installation path if it is different.
2. Try running MATLAB again and check if the issue persists.
3. If the issue still persists, try enabling symbolic linking for shared libraries by running the following command:
```
sudo ldconfig
```
4. If none of the above solutions work, you can try reinstalling MATLAB 2017b. Before reinstalling, make sure to completely remove any existing MATLAB installation and related files.
5. If the problem still persists after reinstalling, you may need to contact MathWorks support for further assistance. Provide them with detailed information about the error message and your system setup to help them diagnose and resolve the issue more effectively.
It's worth noting that this error could also be caused by other factors, such as compatibility issues or incorrect library versions. In such cases, MathWorks support can provide more specific guidance tailored to your situation.
阅读全文