[Qgis-developer] [Qgis developer] error installation Qgison Ubuntu 11.1

Paolo Corti pcorti at gmail.com
Wed Jun 13 08:19:58 PDT 2012


On Wed, Jun 13, 2012 at 3:48 PM, Susana Arciniegas
<susana.arciniegas at mail.igm.gob.ec> 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 at 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


More information about the Qgis-developer mailing list