Library not loaded error (libidn.11.dylib) when trying to install Homebrew

后端 未结 5 1909
清酒与你
清酒与你 2021-01-14 03:42

Trying to install Homebrew on Lion. When I do:

/usr/bin/ruby -e \"$(curl -fsSL https://raw.github.com/gist/323731)\" 

I get this error:

5条回答
  •  臣服心动
    2021-01-14 04:10

    The following fixed the specific issue for me:

    rm -f /usr/local/bin/curl
    ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
    

    If you already have an older homebrew installed:

    rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
    

    Stash any unbrewed files:

    cd /usr/local/Library && git stash && git clean -f
    

    brew doctor:

    Install xcode cli tools from http://connect.apple.com.

提交回复
热议问题