I want to deploy my project to VPS Centos7. But i am getting error while installing postgres. When i type
create extension postgis;
Getting error
ERROR: could not open extension control file "/usr/pgsql-9.6/share/extension/postgis.control": No such file or directory
Because postgis.contol is located in another place,
find /usr -name postgis.control
/usr/share/pgsql/extension/postgis.control
But postgres trying to create it from /usr/pgsql-9.6/share/extension/postgis.control
This question already was asked before, but my problem is other.