Matlab library errors, std:exception
29 次查看(过去 30 天)
显示 更早的评论
Hello,
On a fresh Manjaro / Linux install of R2022b I am recieving the error:
Failed to load bundle #371: /opt/MATLAB/R2022b/bin/glnxa64/libmwrtifc.so
are there recommendations on how to correct such an issue?
I have uninstalled R2022b aand R2022a and recieving the same issue.
Thank you,
Mitchell
1 个评论
Image Analyst
2023-2-1
What was MATLAB doing at the time? What did you tell it to do? Where is your code?
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
Recommendation would be to call tech support.
回答(1 个)
Gayatri Rathod
2023-4-27
Hi Quantum_C,
This error message suggests that MATLAB is unable to load the runtime interface library (libmwrtifc.so) on your Linux system. Here are some possible solutions you could try:
- Check if the library is present in the MATLAB installation directory. You can do this by navigating to the directory where MATLAB is installed and then going to the "bin/glnxa64" subdirectory. Look for the "libmwrtifc.so" file. You can do this by running the command in a terminal:
>> ls /opt/MATLAB/R2022b/bin/glnxa64/
- Check that the file permissions for 'libmwrtifc.so' allow it to be read and executed. You can do this by running the command in a terminal:
>> ls -l /opt/MATLAB/R2022b/bin/glnxa64/libmwrtifc.so
- Verifying that the file permissions are set to allow reading and executing by the MATLAB process. If not, run the command to add the necessary permissions:
>> sudo chmod 755 libmwrtifc.so
- Check that all the necessary system libraries are installed. You can do this by running the following command in a terminal:
>>ldd /opt/MATLAB/R2022b/bin/glnxa64/libmwrtifc.so
This command will list all the shared libraries that the libmwrtifc.so library depends on. Make sure all these libraries are installed and accessible to MATLAB.
- Try running MATLAB with the "LD_LIBRARY_PATH" environment variable set to the directory containing the "libmwrtifc.so" file. You can do this by running the following command in a terminal before starting MATLAB:
export LD_LIBRARY_PATH=/opt/MATLAB/R2022b/bin/glnxa64/
This will set the "LD_LIBRARY_PATH" variable to the directory containing the "libmwrtifc.so" file.
- If none of the above steps work, try reinstalling the MATLAB Runtime Interface. You can download the installer from the MathWorks website and run it on your system.
You can read more about the ls, ls -l, chmod and ldd from the following documentation: ls doc, ls -l doc, chmod doc, ldd doc.
Hope it helps!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!