dyld library not loaded

5 vues (au cours des 30 derniers jours)
Pedro Casau
Pedro Casau le 27 Sep 2020
I just installed MATLAB R2019b on macOS 10.15.5, but it won't start.
When running the matlab script from '/Applications/MATLAB_R2019b.app/ ' this is the result:
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
Referenced from: /usr/local/bin/awk
Reason: image not found
Internal error 2: Could not determine the path of the
MATLAB root directory.
original command path = /Applications/MATLAB_R2019b.app/bin/matlab
current command path = /Applications/MATLAB_R2019b.app/bin/matlab
Please contact:
MathWorks Technical Support
for further assistance.
logout
Any help is appreciated.

Réponses (1)

Priysha LNU
Priysha LNU le 5 Oct 2020
From the information you have provided from the installation log file, it appears that the installation of R2019b was successful but the shortcut to start MATLAB may be corrupt or contains an incomplete path.
To create a new shortcut to open MATLAB, navigate to your Applications folder and right-click or CTRL+click the icon for MATLAB R2019b, and select "View contents". From here, there should be an executable to open MATLAB R2019b. Try opening MATLAB from here. If this opens successfully, you may create a shortcut by doing the following:
You can add MATLAB to your Dock or you can create an alias.
  • To add MATLAB to your Dock, simply drag the application onto the Dock and wait until the other icons make room for the MATLAB icon. Then release the MATLAB icon.
  • To create an alias, right-click or control-click MATLAB in your application folder and select “Make Alias.” The alias will be created in the same folder MATLAB is in, so you need to move it to where you want it to be.
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by