postgis / docker-postgis

Docker image for PostGIS
https://hub.docker.com/r/postgis/postgis/
MIT License
1.39k stars 466 forks source link

postgis/postgis:12-master gdalinfo: error while loading shared libraries #181

Closed ImreSamu closed 4 years ago

ImreSamu commented 4 years ago

strange gdal problem with the new postgis/postgis:12-master image .

$ docker run --rm -it postgis/postgis:12-master gdalinfo
gdalinfo: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory

$ docker pull postgis/postgis:12-master
12-master: Pulling from postgis/postgis
Digest: sha256:ac2fae925d96351714f7cb22d813ce693b13ee447bb32f046c30ce9a77276619
Status: Image is up to date for postgis/postgis:12-master
docker.io/postgis/postgis:12-master

the postgis/postgis:12-3.0-alpine - gdalinfo test is ok ; expecting similar results:

$ docker run --rm -it postgis/postgis:12-3.0-alpine gdalinfo
Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd]
                [-norat] [-noct] [-nofl] [-checksum] [-proj4]
                [-listmdd] [-mdd domain|`all`] [-wkt_format WKT1|WKT2|...]*
                [-sd subdataset] [-oo NAME=VALUE]* datasetname

FAILURE: No datasource specified.
$