diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgdal.py index 78a719a9405..c1bb45c742d 100644 --- a/django/contrib/gis/gdal/libgdal.py +++ b/django/contrib/gis/gdal/libgdal.py @@ -17,7 +17,7 @@ elif os.name == 'nt': lib_names = ['gdal15'] elif os.name == 'posix': # *NIX library names. - lib_names = ['gdal', 'gdal1.5.0'] + lib_names = ['gdal', 'GDAL', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0'] else: raise OGRException('Unsupported OS "%s"' % os.name) diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py index 840bd7df5d3..c8e938cb00d 100644 --- a/django/contrib/gis/geos/libgeos.py +++ b/django/contrib/gis/geos/libgeos.py @@ -33,7 +33,7 @@ elif os.name == 'nt': lib_names = ['libgeos_c-1'] elif os.name == 'posix': # *NIX libraries - lib_names = ['geos_c'] + lib_names = ['geos_c', 'GEOS'] else: raise ImportError('Unsupported OS "%s"' % os.name)