About libgfortran.3.dylib (no such file)

When I run a toolbox in Matlab, MEX file error.

such as follow:

'/Applications/Polyspace/R2021a.app/GPOPS2/nlp/snopt/snoptcmex.mexmaci64' 无效:

dlopen(/Applications/Polyspace/R2021a.app/GPOPS2/nlp/snopt/snoptcmex.mexmaci64, 0x0006): Library not loaded:

/sw/lib/gcc4.4/lib/libgfortran.3.dylib

Referenced from: /Applications/Polyspace/R2021a.app/GPOPS2/nlp/snopt/snoptcmex.mexmaci64

Reason: tried: '/sw/lib/gcc4.4/lib/libgfortran.3.dylib' (no such file), '/usr/local/lib/libgfortran.3.dylib' (no such

file), '/usr/lib/libgfortran.3.dylib' (no such file)


I think it is the reason about Apple M1.

Wish to be helped to solve the problem!!

Posted on Mar 21, 2022 7:25 PM

Reply

Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

About libgfortran.3.dylib (no such file)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.