title: psql: symbol lookup error: psql: undefined symbol: PQsetErrorContextVisibility
body: <p>I switched my postgres version from 9.2.24 to 9.6 because I need jsonb compatibility along with other recent features. I am running a vm on centos 7.</p>
  
  <p>I decided to wipe all existing instances of postgres (which are almost empty since it is staging) and then installed 9.6. However, once I enter the postgres shell I received the following error when I type <code>psql</code>:</p>
  
  <p><code>psql: symbol lookup error: psql: undefined symbol: PQsetErrorContextVisibility</code></p>
  
  <p>I assume I need to change the path that psql is looking for so that it connects properly but I am not sure where to point it.</p>
  
  <p>Note: <code>ls</code> reveals 2 directories and 1 file in postgres bash <code>9.6 data and initdb.log</code>.</p>