Open xieqing0428 opened 3 years ago
I'm facing the same issue. This seems to be due to the latest macOS update (11.4) which updated the system version of Perl to 5.30.
I see here few issues.
First, macOS updated Perl while homebrew hasn't recompiled a binary. I'd blame to them. And you need to install from sources fir now (brew install -s
)
Second, binary from GitHub isn't really prepared for version of Perl as it used on a wide range of systems.
Here I'd suggest also to check if MacVim is compiled with dynamic library loading and to change perl path and hope ABI hasn't been changed
brew uninstall macvim && brew install -s macvim
did the trick. Thanks @eirnym
Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug dyld: Library not loaded: /System/Library/Perl/5.28/darwin-thread-multi-2level/CORE/libperl.dylib Referenced from: /usr/local/Cellar/macvim/8.2-171/MacVim.app/Contents/MacOS/Vim Reason: image not found
To Reproduce Detailed steps to reproduce the behavior:
mvim -v
Environment (please complete the following information):
Additional context
brew install macvim