Skip to content

Compiling DB4S on Ubuntu To Use A Pre Installed Version of SQLite

Long Nguyen edited this page Jul 26, 2022 · 5 revisions

DB4S is kept as up-to-date as possible with the latest version of SQLite, but if you have a newer version installed, you can compile DB4S to use this specific version instead. The following instructions are for Ubuntu. Please also read these build instructions.

To use a different version of SQLite, add -DCMAKE_SYSTEM_PREFIX_PATH=<prefix> (where <prefix> is the SQLite installed directory) to the CMake invocation.

(If you use the default installation directory, which is usually /usr/local, this isn't required)

mkdir build && cd build
cmake -DCMAKE_SYSTEM_PREFIX_PATH=<prefix> ..
make

Credit to longnguyen2004 for the detailed instructions.

Clone this wiki locally