[Live-demo] [OSGeo] #1224: Spatialite version conflict
OSGeo
trac_osgeo at osgeo.org
Sat Aug 24 05:29:39 PDT 2013
#1224: Spatialite version conflict
---------------------+------------------------------------------------------
Reporter: micha | Owner: live-demo@…
Type: defect | Status: new
Priority: blocker | Milestone: OSGeoLive7.0
Component: LiveDVD | Keywords: spatialite, qgis, libspatialite
---------------------+------------------------------------------------------
Comment(by micha):
I tried this in a RC2 VM -
I added one line to the install_spatialite.sh script:
{{{
--- install_spatialite.orig 2013-08-24 15:04:56.225754055 +0300
+++ install_spatialite.sh 2013-08-24 15:06:35.789754715 +0300
@@ -94,6 +94,8 @@
PACKAGE[2]="spatialite_gui-1.5.0-stable"
PACKAGE[3]="spatialite_gis-1.0.0c"
+export LIBSPATIALITE_LIBS=/usr/lib/libspatialite.so.3
+
for i in 1 2 3; do
wget -c --progress=dot:mega
"$GAIA_URL/${SOURCE_DIR[$i]}/${PACKAGE[$i]}.tar.gz"
tar xzf ${PACKAGE[$i]}.tar.gz
}}}
then I reran that install script in the VM. This caused spatialite_gui to
be re-compiled with the older 3.1 lib, and now I can create tables in
spatialite and view them, as before in QGIS. (you should be able to hear
my sigh of relief wherever you are...)
Should I commit this change to svn?? It seems totally benign - It doesn't
touch anything else, the change is local to spatialite only.
I also did a quick ogrinfo on a few spatialite db's - both the one created
before this fix (libspatialite 4.1) and the one created after
(libspatialite 3.1) and they worked OK. So we should be good to go...
--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1224#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Osgeolive
mailing list