title: PostGIS Homebrew installation referencing an old path?
body: <p>I upgraded and subsequently reinstalled PostGIS &amp; PostgreSQL on OS X Mountain Lion. When trying to use the PostGIS extensions, I receive the following error:</p>
  
  <pre><code>ERROR: could not open extension control file "/usr/local/Cellar/postgresql/
  9.2.3/share/postgresql/extension/postgis.control": No such file or directory
  </code></pre>
  
  <p>It appears that PostGIS (and PostgreSQL as well??) are still looking for the required files in the <code>/postgresql/9.2.3/</code> directory and not in the <code>/postgresql/9.2.4/</code> directory. I have used Homebrew to remove all previous versions of PostgreSQL via the following command:</p>
  
  <pre><code>brew remove --force postgresql
  </code></pre>
  
  <p>Could someone please point me in the right directions as to why this problem is occurring? (There must be a lingering config file somewhere or something?)</p>
  
  <p>Any help will be much appreciated. </p>