diff --git a/pygeoapi/provider/sqlite.py b/pygeoapi/provider/sqlite.py index 6c15edc..b344b37 100644 --- a/pygeoapi/provider/sqlite.py +++ b/pygeoapi/provider/sqlite.py @@ -123,7 +123,7 @@ class SQLiteProvider(BaseProvider): cursor = conn.cursor() try: - cursor.execute("SELECT load_extension('mod_spatialite')") + cursor.execute("SELECT load_extension('mod_spatialite.so')") cursor.execute("PRAGMA table_info({})".format(self.table)) except sqlite3.OperationalError as err: LOGGER.error('Extension loading error: {}'.format(err))