back to main page

Installing spatialite-2.2 on Mac OS X

spatialite-2.2 is a SQLite's extension, and includes in itself two further SQLite's extensions: the RTree, the MbrCache, the VirtualShape and the VirtualText ones.
There are various alternative ways you can follow at your choice to deploy and use them:
  1. the spatialite executable way:
  2. the sqlite3 way:
  3. the GUI tool 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 VirtualShape

Managing dynamic libraries

On MacOsX systems, dynamic 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 dynamic libraries must be placed in the /usr/lib directory
You can as well keep yours dynamic libraries in any other directory at your choice, but in this case you have to set en environment variable, as in:

$ LD_LIBRARY_PATH=/Users/user_name/my_preferred_dylib_dir
$ export LD_LIBRARY_PATH


back to main page