Pivotal GemFire® v8.1

Linux Installation

Linux Installation

This topic describes how to install the SQLite Persistence Manager on Linux for use with the GemFire native client.

The productDir directory refers to the path to the native client product directory.

The following libraries must be present in the runtime linking path:

  • is provided in productDir/lib, so it is already present in the runtime linking path.
  • is the SQLite Library. You need to create this library and make available in the runtime linking path, or copied to productDir/lib, as described below.

Pivotal GemFire Native Client has been tested with SQLite version

Downloading, Building and Installing the Library

You create the SQLite database library by downloading the latest .zip file and compiling the source code.

  1. Download the source code sqlite-autoconf-NNNNNNN.tar.gz file (where NNNNNNN corresponds to the version) for SQLite version or later from
  2. Extract the source code from the .tar.gz file. For example:
    tar -xvf sqlite-autoconf-3071401.tar.gz
  3. Change directories to the extracted source files, and follow the install instructions located in the "INSTALL" file.
    1. Run the configure command for 32-bit or 64-bit with the following options, all entered on a single command line. Change the --prefix directory specification to the location where you want the libraries:
      • 32-bit:
        CFLAGS="-m32" ./configure --prefix=/desired_binary_location/sqlite-binaries
      • 64-bit:
        ./configure --prefix=/desired_binary_location/sqlite-binaries 
    2. Run gmake install as described in the build instructions. The libraries will be available in the sqlite-binaries directory that you specified.
  4. Copy /desired_binary_location/sqlite-binaries/lib/ file to productDir/lib.