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

前端 未结 5 1686
轻奢々
轻奢々 2021-01-01 11:31

I\'ve been trying to run a script in the terminal and every time I do I get:

$ ruby directory.rb
dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib
  R         


        
5条回答
  •  春和景丽
    2021-01-01 11:53

    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.

提交回复
热议问题