A
A
Artem00712019-05-20 13:01:10
PostgreSQL
Artem0071, 2019-05-20 13:01:10

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 postgisit, 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

Tried to do ln -sbefore 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"

Please help me figure out how to install this postgis to a specific version of postgres

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SoaringEagle, 2019-08-27
@SoaringEagle

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 question

Ask a Question

731 491 924 answers to any question