Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dyld: Library not loaded: /usr/local/lib/liblua.5.1.5.dylib

I got the following error while trying to invoke terminal Vim (terminal app from MacVim directory); after I updated homebrew, rvm & reinstalled a new version of Ruby.

dyld: Library not loaded: /usr/local/lib/liblua.5.1.5.dylib
  Referenced from: /Applications/MacVim.app/Contents/MacOS/Vim
  Reason: image not found

Note: Was able to solve it, so thought I would record if someone stumbles on the same issue.

like image 324
Jikku Jose Avatar asked Nov 28 '22 20:11

Jikku Jose


1 Answers

I use vim installed by homebrew ,my solution is reinstall vim

run brew reinstall vim

like image 145
PE Xie Avatar answered Dec 20 '22 12:12

PE Xie