postgis / docker-postgis

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

libjson-c.so.3: cannot open shared object file: No such file or directory #174

Closed Zalkota closed 4 years ago

Zalkota commented 4 years ago

yum install json-c doesn't help this.. any idea?

[Wed Feb 19 04:46:01.617682 2020] [:error] [pid 32491]     from .fields import (  # NOQA
[Wed Feb 19 04:46:01.617688 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/forms/fields.py", line 2, in <module>
[Wed Feb 19 04:46:01.617691 2020] [:error] [pid 32491]     from django.contrib.gis.geos import GEOSException, GEOSGeometry
[Wed Feb 19 04:46:01.617696 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/geos/__init__.py", line 5, in <module>
[Wed Feb 19 04:46:01.617699 2020] [:error] [pid 32491]     from .collections import (  # NOQA
[Wed Feb 19 04:46:01.617704 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/geos/collections.py", line 9, in <module>
[Wed Feb 19 04:46:01.617707 2020] [:error] [pid 32491]     from django.contrib.gis.geos.geometry import GEOSGeometry, LinearGeometryMixin
[Wed Feb 19 04:46:01.617712 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/geos/geometry.py", line 8, in <module>
[Wed Feb 19 04:46:01.617715 2020] [:error] [pid 32491]     from django.contrib.gis import gdal
[Wed Feb 19 04:46:01.617720 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/gdal/__init__.py", line 28, in <module>
[Wed Feb 19 04:46:01.617724 2020] [:error] [pid 32491]     from django.contrib.gis.gdal.datasource import DataSource
[Wed Feb 19 04:46:01.617729 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/gdal/datasource.py", line 39, in <module>
[Wed Feb 19 04:46:01.617732 2020] [:error] [pid 32491]     from django.contrib.gis.gdal.driver import Driver
[Wed Feb 19 04:46:01.617737 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/gdal/driver.py", line 5, in <module>
[Wed Feb 19 04:46:01.617740 2020] [:error] [pid 32491]     from django.contrib.gis.gdal.prototypes import ds as vcapi, raster as rcapi
[Wed Feb 19 04:46:01.617745 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/gdal/prototypes/ds.py", line 9, in <module>
[Wed Feb 19 04:46:01.617748 2020] [:error] [pid 32491]     from django.contrib.gis.gdal.libgdal import GDAL_VERSION, lgdal
[Wed Feb 19 04:46:01.617754 2020] [:error] [pid 32491]   File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/contrib/gis/gdal/libgdal.py", line 47, in <module>
[Wed Feb 19 04:46:01.617757 2020] [:error] [pid 32491]     lgdal = CDLL(lib_path)
[Wed Feb 19 04:46:01.617762 2020] [:error] [pid 32491]   File "/usr/lib64/python3.6/ctypes/__init__.py", line 343, in __init__
[Wed Feb 19 04:46:01.617765 2020] [:error] [pid 32491]     self._handle = _dlopen(self._name, mode)
[Wed Feb 19 04:46:01.617802 2020] [:error] [pid 32491] OSError: libjson-c.so.3: cannot open shared object file: No such file or directory
Komzpa commented 4 years ago

Hi, is it problem with PostGIS docker? It looks like python/GDAL issue.