I can not use the command gvim in terminal

When I entry gvim,it will be:

dyld: Library not loaded: /System/Library/Frameworks/

Referenced from: /usr/local/Cellar/macvim/8.0-126/
Reason: image not found
Abort trap: 6
How can I deal with it ?

1 Answer

Have you recently upgraded your macOS? Maybe you're using a different Ruby version (2.3 instead of the 2.0 you were supposed to have).

You can either try to update your current version:

brew update brew upgrade gvim 

Or directly uninstall and re-install gvim:

brew uninstall --purge gvim brew install gvim 

If any of those solutions works fine for you, I've also found a similar case on Stackoverflow with your same issue on this link.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like