Opened 6 years ago

Closed 6 years ago

#7260 closed defect (invalid)

configure script fails checking rasterlite2 compatibility

Reported by: epifanio Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

I'm attempting to build gdal trunk against latest available version of librasterlite2 (librasterlite2-1.0.0-rc0)

checking for sqlite3.h... yes
checking for spatialite.h in /usr/include or /usr/local/include... found
checking for spatialite_init in -lspatialite... yes
checking for spatialite_target_cpu in -lspatialite... yes
checking for sqlite3_column_table_name in -lsqlite3... yes
checking rasterlite2/rasterlite2.h usability... yes
checking rasterlite2/rasterlite2.h presence... yes
checking for rasterlite2/rasterlite2.h... yes
checking for rl2_load_raw_tiles_into_dbms in -lrasterlite2... no
configure: error: did not find rl2_load_raw_tiles_into_dbms

Any clue about this error? if this is a version incopatibility, which version should I use to enable rastrlite2 support in gdal?

Change History (3)

comment:1 by mj10777, 6 years ago

Gdal supports the latest development version, thus 'rl2_load_raw_tiles' was not found in your older version.

Please download the latest developer version from

https://www.gaia-gis.it/fossil/librasterlite2/index

to resolve this problem.

comment:2 by epifanio, 6 years ago

I tried several version but GDAL was always picking up the old version installed from the ubuntu repository. Also if a newer rasterlite2 developper version (checkout from fossil https://www.gaia-gis.it/fossil/librasterlite2) was installed in /usr/local. Problem fixed by explicitly set the rasterlite2 path in the gdal configure: --with-rasterlite2=/usr/local.

comment:3 by Even Rouault, 6 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.