Answer the question
In order to leave comments, you need to log in
How to install postgis on specific version of postgresql in homebrew?
There is an installed version in homebrew It is [email protected]
necessary to install postgis
Did brew install postgis
it, and did it in postgres. CREATE EXTENSION postgis;
To which he began to swear with such an error:
[2019-05-20 12:59:04] [58P01] ERROR: could not open extension control file "/usr/local/Cellar/[email protected]/10.6_2/share/[email protected]/extension/postgis.control": No such file or directory
ln -s
before this file:ln -s /usr/local/Cellar/postgis/2.5.2_2/share/postgresql/extension/postgis.control /usr/local/Cellar/[email protected]/10.6_2/share/[email protected]/extension/postgis.control
, but in the end nothing good:[2019-05-20 13:00:09] [22023] ERROR: extension "postgis" has no installation script nor update path for version "2.5.2"
Answer the question
In order to leave comments, you need to log in
Faced the same issue but on Ubuntu 16.04 Server.
Resolved with a couple of commands:
After that it CREATE EXTENSION postgis;
goes without problems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question