This topic describes how to install the SQLite Persistence Manager on Linux for use with the Geode native client.
product-dir directory refers to the path to the native client product directory.
The following libraries must be present in the runtime linking path:
libSqLiteImpl.sois provided in
product-dir/lib, so it is already present in the runtime linking path.
libsqlite3.sois the SQLite Library. You need to create this library and make available in the runtime linking path, or copied to
product-dir/lib, as described below.
The Geode Native Client has been tested with SQLite v22.214.171.124.
You create the SQLite database library by downloading the latest .zip file and compiling the source code.
- Download the source code
sqlite-autoconf-NNNNNNN.tar.gzfile (where NNNNNNN corresponds to the version) for SQLite v126.96.36.199 or later from http://www.sqlite.org/download.html.
Extract the source code from the .tar.gz file. For example:
tar -xvf sqlite-autoconf-3071401.tar.gz
Change directories to the extracted source files, and follow the install instructions located in the “INSTALL” file.
configurecommand for 32-bit or 64-bit with the following options, all entered on a single command line. Change the
--prefixdirectory specification to the location where you want the libraries:
CFLAGS="-m32" ./configure --prefix=/desired-binary-location/sqlite-binaries
gmake installas described in the build instructions. The libraries will be available in the
sqlite-binariesdirectory that you specified.