我按照here
所述安装了postgres和postgisbrew install postgres
brew install postgis
createdb postgis_test
psql postgis_test
psql (9.6.2)
Type "help" for help.
postgis_test=# CREATE EXTENSION postgis;
ERROR: could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory
ERROR: could not stat file "/usr/local/share/postgresql/extension/postgis--2.3.2.sql": No such file or directory
ERROR: could not access file "$libdir/postgis-2.3": No such file or directory
可能是什么错误?以及如何解决它?