[strongSwan] preparing sqlite statement failed: library routine called out of sequence

Martin Willi martin at strongswan.org
Fri Apr 10 13:20:36 CEST 2015


Hi,

> 13[LIB] preparing sqlite statement failed: library routine called out of sequence

Most likely your sqlite library has been built without thread safety.
Please check if you are using a recent version of sqlite, and it has
been built with SQLITE_THREADSAFE 1 or 2 (see [1]).

Most likely we should use sqlite3_threadsafe() to check if it supports
multiple threads, and fall back to the external locking mechanism we
already use for SQLite version older than 3.5.

Regards
Martin

[1]https://sqlite.org/threadsafe.html



More information about the Users mailing list