I installed PostgreSQL 9.x and PostGIS 1.5 / 2.0 several times and have never encountered this problem.
I just got a new CentOS 6.3 server, and I have Postgres 9.3, as expected. I launched
yum install postgis2_93
and i can see the files in
/usr/pgsql-9.3/share/contrib/
however when i run
CREATE EXTENSION postgis;
I get
ERROR: could not open extension control file "/usr/pgsql-9.3/share/extension/postgis.control": No such file or directory
the tutorials ( # 1 , # 2 ) that I used do not show any steps between installing PostGIS and creating an extension.
What am I missing?
postgresql centos postgis
losthorse
source share