参照文章进行PostGIS的安装:
./configure --with-pgconfig=/home/postgresql-11.3-1/bin/pg_config --with-geosconfig=/usr/local/geos/bin/geos-config --with-projdir=/usr/local/proj4 --with-gdalconfig=/usr/local/gdal/bin --without-raster
出现错误信息:
configure: error: could not find geos-config within the currentpath. You may need to try re-running configure with a --with-geosconfig parameter.
分析:
在配置的时候是配置了–with-geosconfig参数,同时 指向的路径也是存在的,所以感觉也很奇怪。
后经排查,是有一个依赖未完全安装上导致。重新yum 安装缺失的包。

本文详细记录了解决PostGIS安装过程中遇到的配置错误及初始化插件错误的方法,包括缺失依赖包的安装、环境变量配置问题及其解决方案。
最低0.47元/天 解锁文章
7444

被折叠的 条评论
为什么被折叠?



