title: Configure error in Mac OS X Lion 10.7 -- Library 'crypto' is required for OpenSSL
body: <p>Tried <code>brew install postgres</code> and got the following error:</p>
  
  <pre><code>datadir=/usr/local/Cellar/postgresql/9.2.4/share/postgresql --docdir=/usr/local/Cellar/postgresql
  checking for library containing gss_init_sec_context... -lgssapi_krb5
  checking for library containing com_err... none required
  checking for library containing krb5_sendauth... none required
  checking for CRYPTO_new_ex_data in -lcrypto... no
  configure: error: library 'crypto' is required for OpenSSL
  </code></pre>
  
  <p>OpenSSL seems to be installed correctly (I brew installed it, with no complaints, and brew doctor doesn't raise any flags about it), and my XCode developer tools are also up to date. Looked around for how to install crypto on a mac, (OS X Lion 10.7), and there are surprisingly few resources. Any ideas what's wrong or how to fix it?</p>
  
  <p>I tried uninstalling/reinstalling OpenSSL.</p>