Ruby -v dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib

孤者浪人 提交于 2019-11-30 10:57:26
Jikku Jose

I just encountered similar issue and was able to resolve it following an answer from superuser.

brew update && brew install gmp && rvm reinstall 2.1.4

Seems this was an issue with libgmp.10.dylib.

For dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib

you need brew update && brew install gmp

I ended up solving this by including the brew's gmp directory when installing:

rvm install ruby-2.2.5 --with-opt-dir=$(brew --prefix gmp)

Mine was solved with:

brew update && brew install gmp
brew upgrade npm
cthomaspdx

Looks like it is an issue with upgrading the Ruby version.

Try:

$ brew rm cloog; brew install cloog 

This seems much like this similar issue: "Upgrading to Ruby 2.1.3 on Mac OSx 10.9.5"

Hope that works for you.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!