Open maroux opened 9 years ago
+1 getting the same thing
GeoDjango expects a file in GEOS_LIBRARY_PATH
, GDAL_LIBRARY_PATH
and PROJ4_LIBRARY_PATH
settings, not a directory. (see the doc: https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/geolibs/#geoslibrarypath)
So you should write the following lines in settings.py:
from os import environ
GEOS_LIBRARY_PATH = "{}/libgeos_c.so".format(environ.get('GEOS_LIBRARY_PATH'))
GDAL_LIBRARY_PATH = "{}/libgdal.so".format(environ.get('GDAL_LIBRARY_PATH'))
PROJ4_LIBRARY_PATH = "{}/libproj.so".format(environ.get('PROJ4_LIBRARY_PATH'))
i get the same error even if i added those lines to setting file
maroux did you solve the problem
Tried on both cedar and cedar-14, no luck :(
Deploy looks fine:
On import:
In settings.py: