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

后端 未结 5 1897
清酒与你
清酒与你 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:15

    You built and installed curl into /usr/local/bin, but it linked against your MacPorts-installed libidn. You should delete /usr/local/bin/curl. You may also want to double-check everything else in /usr/local/bin to see if they have the same problem.

    You may also need to check things in /usr/local/lib in case they link against MacPorts-installed libraries too. For example, curl may have a /usr/local/lib/libcurl.dylib that might link against stuff from /opt/local/lib.

提交回复
热议问题