如何使用Homebrew将Postgis安装到Postgres@9.5的Keg安装中?

时间:2017-05-08 10:21:12

标签: postgresql homebrew postgis postgresql-9.5

我已经使用Homebrew 1.2将Postgresql@9.5安装到我的OSX El Capitan机器上。不幸的是,安装Postgis后,执行CREATE EXTENSION postgis;

它返回,

ERROR:  could not open extension control file "/usr/local/Cellar/postgresql@9.5/9.5.6/share/postgresql@9.5/extension/postgis.control": No such file or directory

我试过,卸载所有postgresql并只安装9.5版本,然后安装postgis但无济于事。

我想我有一个类似的问题,但这个只适用于Ubuntu。 how to change install postgis location? postgres

This discussion also instruct to install postgresql using @ notation but didn't tell that it will create a non-comformant directory name

0 个答案:

没有答案