Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I ran into this also, but was able to fix it following the instructions on <a href="https://stackoverflow.com/questions/11538249/python-pip-install-psycopg2-install-error">python pip install psycopg2 install error</a>.</p> <p>First, make sure you have the <a href="http://www.openssl.org/support/faq.html#MISC1" rel="nofollow noreferrer">most recent version of OpenSSL</a> installed:</p> <pre><code>MacBook Pro:~&gt; openssl version -a OpenSSL 1.0.0c 2 Dec 2010 built on: Mon Jan 3 17:26:21 PST 2011 platform: darwin64-x86_64-cc options: bn(64,64) rc4(ptr,char) des(idx,cisc,16,int) idea(int) blowfish(idx) compiler: /usr/bin/gcc-4.2 -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall OPENSSLDIR: "/opt/local/etc/openssl" </code></pre> <p>...and note the OPENSSLDIR. On my system, it's in /opt/local/, because I installed it via MacPorts. I just needed to update the symlinks in /usr/lib/ for libssl.dylib and libcrypto.dylib so that they pointed to the correct versions in /opt/local/lib instead of the old version in usr/lib:</p> <pre><code>MacBook Pro:~&gt; ls -la /usr/lib/libssl.dylib lrwxr-xr-x 1 root wheel 33 Aug 17 12:25 /usr/lib/libssl.dylib -&gt; /opt/local/lib/libssl.1.0.0.dylib MacBook Pro:~&gt; ls -la /usr/lib/libcrypto.dylib lrwxr-xr-x 1 root wheel 36 Aug 17 12:28 /usr/lib/libcrypto.dylib -&gt; /opt/local/lib/libcrypto.1.0.0.dylib </code></pre> <p>You can create the links by using the <code>ln</code> command:</p> <pre><code>sudo ln -s /path/to/postgres/install/lib/libcrypto.dylib /usr/lib/libcrypto.dylib sudo ln -s /path/to/postgres/install/lib/libssl.dylib /usr/lib/libssl.dylib </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload