I upgraded and subsequently reinstalled PostGIS & PostgreSQL on OS X Mountain Lion. When trying to use the PostGIS extensions, I receive the following error:
ERROR: could not open extension control file "/usr/local/Cellar/postgresql/
9.2.3/share/postgresql/extension/postgis.control": No such file or directory
It appears that PostGIS (and PostgreSQL as well??) are still looking for the required files in the /postgresql/9.2.3/
directory and not in the /postgresql/9.2.4/
directory. I have used Homebrew to remove all previous versions of PostgreSQL via the following command:
brew remove --force postgresql
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?)
Any help will be much appreciated.