title: Library not loaded error (libidn.11.dylib) when trying to install Homebrew
body: <p>Trying to install Homebrew on Lion. When I do: </p>
  
  <pre><code>/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" 
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>dyld: Library not loaded: /opt/local/lib/libidn.11.dylib
  Referenced from: /usr/local/bin/curl
  Reason: image not found
  </code></pre>
  
  <p>I had MacPorts installed previously but uninstalled it and completely removed /opt/local
  I also removed /opt/local from my PATH</p>
  
  <p>Any idea why this error is happening? </p>