Installed postgresql 9.4 following this tutorial using the method of already compiled pkg. All seems fine with postgres installation.
testdb=# SELECT name, setting FROM pg_settings where category='File Locations'; name | setting -------------------+------------------------------------------ config_file | /etc/postgresql/9.4/main/postgresql.conf data_directory | /var/lib/postgresql/9.4/main external_pid_file | /var/run/postgresql/9.4-main.pid hba_file | /etc/postgresql/9.4/main/pg_hba.conf ident_file | /etc/postgresql/9.4/main/pg_ident.conf (5 rows) Then tried to install postgis 2.2.0 folowing the steps at this trac page (im fairly new with *nix env's and this build from source stuff stills confusing me a lot so go gentle with me) .
receiving the following error:
testdb=# CREATE EXTENSION postgis; ERROR: could not open extension control file "/usr/share/postgresql/9.4/extension/postgis.control": No such file or directory testdb=# Any clues what could have go wrong ? Regards.
أكثر...
testdb=# SELECT name, setting FROM pg_settings where category='File Locations'; name | setting -------------------+------------------------------------------ config_file | /etc/postgresql/9.4/main/postgresql.conf data_directory | /var/lib/postgresql/9.4/main external_pid_file | /var/run/postgresql/9.4-main.pid hba_file | /etc/postgresql/9.4/main/pg_hba.conf ident_file | /etc/postgresql/9.4/main/pg_ident.conf (5 rows) Then tried to install postgis 2.2.0 folowing the steps at this trac page (im fairly new with *nix env's and this build from source stuff stills confusing me a lot so go gentle with me) .
- So downloaded postgis-2.2.0.tar.gz in a /temp_postgis and untarred .
- List item Folowed steps for install from source in this trac for debian whezzypage
- During the install it requested many librarys like geos , proj4 and others that i installed.
receiving the following error:
testdb=# CREATE EXTENSION postgis; ERROR: could not open extension control file "/usr/share/postgresql/9.4/extension/postgis.control": No such file or directory testdb=# Any clues what could have go wrong ? Regards.
أكثر...