title: Problems using psycopg2 on Mac OS (Yosemite)
body: <p>Currently I am installing psycopg2 for work within eclipse with python.</p>
  
  <p>I am finding a lot of problems: </p>
  
  <ol>
  <li>The first problem <code>sudo pip3.4 install psycopg2</code> is not working and it is showing the following message </li>
  </ol>
  
  <blockquote>
    <p>Error: pg_config executable not found.</p>
  </blockquote>
  
  <p>FIXED WITH:<code>export PATH=/Library/PostgreSQL/9.4/bin/:"$PATH”</code></p>
  
  <ol start="2">
  <li>When I import psycopg2 in my project i obtein:</li>
  </ol>
  
  <blockquote>
    <p>ImportError:
    dlopen(/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/psycopg2/_psycopg.so
    Library libssl.1.0.0.dylib
    Library libcrypto.1.0.0.dylib</p>
  </blockquote>
  
  <p>FIXED WITH: 
  <code>sudo ln -s /Library/PostgreSQL/9.4/lib/libssl.1.0.0.dylib /usr/lib
  sudo ln -s /Library/PostgreSQL/9.4/lib/libcrypto.1.0.0.dylib /usr/lib</code></p>
  
  <ol start="3">
  <li>Now I am obtaining:</li>
  </ol>
  
  <blockquote>
    <p>ImportError:
    dlopen(/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/psycopg2/_psycopg.so,
    2): Symbol not found: _lo_lseek64   Referenced from:
    /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/psycopg2/_psycopg.so
    Expected in: /usr/lib/libpq.5.dylib  in
    /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/psycopg2/_psycopg.so</p>
  </blockquote>
  
  <p>Can you help me?</p>