Dear Maintainer,
Sorry for reporting the present bug : it is clearly written in the doc that
loadable extensions are disabled by default in Debian.
It seems I'm a bad documentation reader, going directly to code examples
without reading the warnings.
Anyway, it can be closed.
If anyone is interested, I found this workaround, which needs
python-pysqlite2 package :
from pysqlite2 import dbapi2 as sqlite3
con = sqlite3.connect(":memory:")
con.enable_load_extension(True)
con.load_extension("/usr/lib/libspatialite.so.3")
con.enable_load_extension(False)
Regards,
Sebastien KALT