This page is obsolete and contains outdated information. It's still available only to preserve full historical record.

Please go to the current home page of the SpatiaLite project.

Installing spatialite-2.3.1 on Mac Os X

SpatiaLite implements a complete Spatial DBMS engine based on the very popular SQLite.
A complete set of spatially-oriented extensions are directly implemented in SpatiaLite: There are various alternative ways you can follow at your choice to deploy and use them:
  1. the spatialite-gui way:
  2. the spatialite way:
  3. the sqlite3 way:
  4. the xxx GUI tool way / the xxx language binding way:
Then I suggest you to download the test.db database and follow the tutorial step by step;
it's the fastest way to become accustomed with SpatiaLite and any related stuff.

Managing shared libraries

On Mac Os X systems, shared libraries are identified by a .dylib suffix Usually they have a plain name i.e. somelib.dylib, but usually they supports a version name as well, i.e. somelib.1.0.dylib
Usually this is accomplished simply by creating a symbolic link, as in:

$ ln -s somelib.1.0.dylib somelib.dylib

Usually shared libraries must be placed in the /usr/lib or /usr/local/lib directories

You can keep yours shared libraries in any other directory at your choice, but in this case you have to set en environment variable, as in:

$ export "LD_LIBRARY_PATH=/home/user_name/my_preferred_dylib_dir"