PostGIS 找不到 GDALALLRegister

PostGIS can't find GDALALLRegister

我正在尝试在没有 root 的网络服务器 (debian) 上安装 PostGIS。当我 运行 ./configure 它抛出这个错误:

checking for library containing GDALALLRegister... no
configure: error: could not find GDAL

config.log 有这个: config.log

我正在使用的系统有 curl,但我还在本地(在 /home/.local/ 中)安装了 curl 和 libcurl4-openssl-dev

我还应该补充一点,根据 gdal-config --dep-libs

,系统似乎已经拥有 gdal 所需的所有库

最终解决了这个问题,为了后代,我不得不使用最新版本的 openssl 安装 curl 的本地副本,然后使用这个版本的 curl 重新编译 gdal。