macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.53k stars 685 forks source link

Fails to run and install under Big Sur 11.4 #1196

Closed ssdowd closed 3 years ago

ssdowd commented 3 years ago

Describe the bug Macvim fails to run after updating M1 mac to 11.4.

To Reproduce

  1. Update to 11.4
  2. Attempt run vim
  3. 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

Expected behavior I expected vim to run.

Screenshots See step 3 above.

Environment (please complete the following information):

Additional context installed via brew. attempted to reinstall, which fails. Note: 11.4 does not contain a /System/Library/Perl/5.28. It appears to have been replaced by 5.30. After reinstalling Xcode, a brew reinstall ruby results in this:

MacVim.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.4, but the range of supported deployment target versions is 10.9 to 11.3.99. (in target 'MacVim' from project 'MacVim')

juicejuice commented 3 years ago

Exactly the same here, on an Intel Macbook 16" (2019) with Big Sur 11.4 using system-provided Perl. Due to MacOS protections you can't just symlink system Perl 5.30->5.28 either.

ichizok commented 3 years ago

There are several solutions;

juicejuice commented 3 years ago

Thanks! I would note that the -s option (build from source) requires full Xcode installation too.

ssdowd commented 3 years ago

Thanks - that works. (Still has security warning: "MacVim" was blocked from use because it is not from an identified developer.)

reekystive commented 3 years ago

Thanks! Fixed with brew reinstall -s macvim.