【问题标题】:Error installing postgis with brew使用 brew 安装 postgis 时出错
【发布时间】:2015-02-05 09:02:38
【问题描述】:

我在使用 brew 安装 postgis 时遇到问题。我收到以下错误:

==> Checking out http://svn.osgeo.org/postgis/trunk/
==> ./autogen.sh
==> ./configure --with-projdir=/usr/local --with-jsondir=/usr/local/opt/json-c --with-pgconfig=/usr/local/Cella
==> make
/bin/sh ../../libtool --mode=link clang -g -O2  -fno-common -DPIC  -Wall -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/local/include -I/usr/local/Cellar/gdal/1.11.1_3/include -I/usr/local/Cellar/geos/3.4.2/include   ../rt_core/librtcore.a raster2pgsql.o ../../liblwgeom/liblwgeom.la -L/usr/local/Cellar/gdal/1.11.1_3/lib -lgdal  -L/usr/local/Cellar/geos/3.4.2/lib -lgeos_c  -liconv -lm -o raster2pgsql
libtool: link: cannot find the library `/usr/local/lib/libgeos_c.la' or unhandled argument `/usr/local/lib/libgeos_c.la'
make[2]: *** [raster2pgsql] Error 1
make[1]: *** [rtloader] Error 2
make: *** [all] Error 1

READ THIS: http://git.io/brew-troubleshooting

These open issues may also help:
Postgis sql files not found (https://github.com/Homebrew/homebrew/issues/26604)

我查看了建议的问题,但没有运气。我还尝试删除并重新安装 postgres。有没有人遇到过类似的问题并找到了解决方案?

/usr/local/lib/libgeos_c.la 不在此位置。我也尝试过使用 brew 重新安装 gdal 和 geos。

【问题讨论】:

    标签: postgresql postgis


    【解决方案1】:

    Postgres.app 内置了 Postgis。Postgis 人员甚至推荐它作为在您的 Mac 上获取 postgis 的最佳方式。 http://postgis.net/install/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-16
      • 2021-12-20
      • 2015-04-10
      • 1970-01-01
      • 1970-01-01
      • 2013-05-02
      相关资源
      最近更新 更多