On Wed, Jun 13, 2012 at 3:48 PM, Susana Arciniegas <[email protected]> wrote: > Dear Qgis-developer group > > When I try to install Qgis on Ubuntu 11.1 I have the following error : > > /home/investigacion/apps/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp: > En la función ‘bool initializeSpatialMetadata(sqlite3*, QString&)’: > /home/investigacion/apps/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:4972:42: > error: ‘spatial_ref_sys_init’ no se declaró en este ámbito > make[2]: *** > [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteprovider.cpp.o] > Error 1 > make[1]: *** > [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/all] Error 2 > make: *** [all] Error 2 > investigacion@investigacion-desktop:~/apps/Quantum-GIS/build-master$ >
Got in same shoes today. As far as I can see the problem arises when compiling against libspatialite2: looks like you need libspatialite 3. Remove libspatialite 2 (most likely with your package manager) and then compile from source libspatialite 3 (at least in Mint 12 I don't see packages for spatialite 3) and will work. p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
