#26137: Document steps needed to install spatialite on Ubuntu 15.04+
------------------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
I ran into a problem running the Django test suite with spatialite and
found this solution [http://www.eduardmartinez.es/2015/11/unable-to-load-
spatialite-library.html 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_init
}}}
You 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?
--
Ticket URL: <https://code.djangoproject.com/ticket/26137>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.56d35a63e21302455393fd048413817b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.