Hi!

 When I try to use django.contrib.gis.db.backends.spatialite as my db engine on 
Ubuntu Wily Werewolf (15.10), I am getting the following error:


*django.core.exceptions.ImproperlyConfigured: Unable to load the SpatiaLite 
library extension "libspatialite.so.7" because: 
/usr/local/lib/libspatialite.so.7: undefined symbol: sqlite3_spatialite_init*
I get that error every time I'm running one of the manage.py operations. The 
same code works fine on previous Ubuntu buils (14.04).

I can work around that problem by using mod_spatialite, defining in my 
settings.py:

*SPATIALITE_LIBRARY_PATH=*

*'/usr/local/lib/mod_spatialite.so'*  
The guys from the djangorestframework-gis seem to have decided to use the 
*mod_spatialite* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793526. 

I wonder if the same should be done for 
/django/contrib/gis/db/backends/spatialite/base.py?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6e84d6c4-2c90-494a-afa8-d6c890123f5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to