title: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib
body: <p>I just installed posgresql with homebrew and when I go on to type the command</p>
  
  <pre><code>psql
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib
  Referenced from: /usr/local/bin/psql
  Reason: image not found
  [1]    69711 trace trap  psql
  </code></pre>
  
  <p>Does anyone have any idea about what's wrong?</p>