add libtiledb version check
@@ -4,3 +4,7 @@ from .libtiledb import (Ctx, Config, Dim, Domain, Attr, DenseArray, SparseArray,
__all__ = [Ctx, Config, Dim, Domain, Attr, DenseArray, SparseArray, TileDBError, VFS,
group_create, ls, walk, remove, move]
+
+if libtiledb.version() != (1, 2, 0):
+ raise RuntimeError("The libtiledb library version does not match "
+ "the latest released version of tiledb v.1.2.0")
