I could need some help from an experienced unix user. As far as I understand, the mapnik library only uses the common sqlite3 library by default. Though mapnik supports spatial sqlite databases, spatialite has to be a statically linked extension for sqlite.
I found the spatialite amalgamation which includes sqlite. But I need it the other way -- sqlite with spatialite included.
Could I get some brief instruction on how to link spatialite into sqlite as a static library? Or is it possible to link mapnik against the spatialite amalgamation instead of sqlite?
I work on Ubuntu 14.04 and Mavericks.
Spatialite Sources:
https://www.gaia-gis.it/spatialite-2.3.0/amalgamation.html
https://www.gaia-gis.it/spatialite-2.3.0/libspatialite-amalgamation-2.3.0.tar.gz
Thanks!