title: SSL error installing pycurl after SSL is set
body: <p>Just some information to start:</p>
  
  <ul>
  <li>I'm running Mac OS 10.7.5</li>
  <li>I have curl 7.21.4 installed (came with dev tools I believe)</li>
  <li>I have python 2.7.1</li>
  </ul>
  
  <p>I've been trying to get pycurl installed, but every time I try to run it, I get:</p>
  
  <pre><code>ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)
  </code></pre>
  
  <p>I first installed pycurl using the setup:</p>
  
  <pre><code>python setup.py install
  </code></pre>
  
  <p>Which didn't work (since SSL wasn't configured).</p>
  
  <p>I have since uninstalled pycurl (<code>sudo rm -rf /Library/Python/2.7/site-packages/pycurl*</code>) before attempting:</p>
  
  <pre><code>export PYCURL_SSL_LIBRARY=openssl
  easy-install pycurl
  </code></pre>
  
  <p>and again before trying:</p>
  
  <pre><code>python setup.py --with-ssl install
  </code></pre>
  
  <p>However, I'm still getting the same error that ssl is not compiled in. It's as if all the instructions are ignoring my attempts.</p>
  
  <p>setup.py doesn't complain at all when installing, but easy install prints this message after I set the PYCURL_SSL_LIBRARY env var:</p>
  
  <pre><code>src/pycurl.c:151:4: warning: #warning "libcurl was compiled with SSL support, but configure could not determine which " "library was used; thus no SSL crypto locking callbacks will be set, which may " "cause random crashes on SSL requests"
  </code></pre>
  
  <p>which seems to indicate it's completely ignoring the fact I just told it to install with openssl...</p>
  
  <p>Is there something I'm missing in the setup?</p>