Library not loaded: @rpath/libmwhgbuiltins.dylib
4 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2020 年 3 月 2 日
回答済み: MathWorks Support Team
2020 年 4 月 6 日
When I tried to plot, I received the following error message:
Bundle#95 start failed:
dlopen(/Applications/MATLAB_R2019b.app/bin/maci64/builtins/matlab_graphics_hgbuiltins/mwhgbuiltins_builtinimpl.dylib,
10): Library not loaded: @rpath/libmwhgbuiltins.dylib
Referenced from:
/Applications/MATLAB_R2019b.app/bin/maci64/builtins/matlab_graphics_hgbuiltins/mwhgbuiltins_builtinimpl.dylib
Reason: no suitable image found. Did find:
/Applications/MATLAB_R2019b.app/bin/maci64/builtins/matlab_graphics_hgbuiltins/../../../../bin/maci64/libmwhgbuiltins.dylib:
truncated mach-o error: segment __LINKEDIT extends to 2065888 which is past end of file
2065830
/Applications/MATLAB_R2019b.app/Contents/MacOS/../../bin/maci64/libmwhgbuiltins.dylib:
truncated mach-o error: segment __LINKEDIT extends to 2065888 which is past end of file
2065830
I’m using R2019b on my MacBook Pro (Retina, 13-inch, Early 2015) running macOS 10.15.2.
Please help me with this problem, thanks!
採用された回答
MathWorks Support Team
2020 年 3 月 2 日
It appears from the error that you included that MATLAB cannot find the "libmwhgbuiltins.dylib" possibly because Apple's System Integrity Protection software is preventing MATLAB from accessing the library file.
Below is a link to a workaround where you copy the library from the "matlabroot" location to the "/usr/lib/" folder.
The location of the library to be copied is:
>> fullfile(matlabroot, 'bin/maci64/libmwblas.dylib')
and it should be copied to
/usr/lib/
If you do not have access to that folder, you can place the library in a folder on the MATLAB path that you are working with, such as near the M file you are writing.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!