#26137 closed Cleanup/optimization (fixed)
Document steps needed to install spatialite on Ubuntu 15.04+
Description ¶
I ran into a problem running the Django test suite with spatialite and found this solution on the blogosphere which worked for me:
If you updated recently to the last ubuntu version (15.10) and you're getting this error or similar:
Unable to load the SpatiaLite library extension "libspatialite.so.7" because: /usr/lib/x86_64-linux-gnu/libspatialite.so.7: undefined symbol: sqlite3_spatialite_initYou can fix it adding this line to your settings.py file:
SPATIALITE_LIBRARY_PATH = 'mod_spatialite'
... and installing a package:sudo apt-get install libsqlite3-mod-spatialite
Is the situation the same on newer versions of Debian? Is this something we should recommend?
Note:
See TracTickets
for help on using tickets.
I don't completely understand it, but it looks like
mod_spatialite
is required for spatialite 4.2+?PR