我一直在搜索帖子,试图找出如何解决这个问题- could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory
我正在将带有apt-get install postgresql-12 postgis postgresql-12-postgis-3的PostgreSQL和PostGIS安装到一个运行python:latest的Docker容器中。我最初运行的是阿尔卑斯山,但是在阿尔卑斯山发行版上成功安装PostGIS似乎有很多问题。
我已经在/usr/share/postgresql/12/extension/postgis.control下找到了包含find /usr -name postgis.control的文件。我尝试将其移动到PostGIS期望的目录,但我仍然看到相同的错误。
我都快疯了!
感谢任何帮助,并乐于回答任何能帮助我找到答案的问题。
发布于 2020-06-01 13:19:44
我从来没有解决过这个问题,所以我最终切换到了官方的postGIS docker镜像,它完美地工作着。会推荐给任何遇到类似情况的人。
https://stackoverflow.com/questions/62115768
复制相似问题