sqlite can be built to be thread safe. In keeping with the current "with_threads" standard, I have attached a patch that adds this functionality to the sqlite.spec file.
*** sqlite.spec Mon Mar 8 13:44:08 2004 --- /tmp/sqlite.spec.new Thu Apr 22 08:54:15 2004 *************** Release: 20040308 *** 40,45 **** --- 40,46 ---- %option with_utf8 no %option with_assert no %option with_readline no + %option with_threads no # list of sources Source0: http://www.hwaci.com/sw/sqlite/sqlite-%{version}.tar.gz *************** AutoReqProv: no *** 98,103 **** --- 99,107 ---- config_TARGET_READLINE_LIBS="%{l_ldflags} -lreadline -ltermcap" export config_TARGET_READLINE_LIBS %endif + %if "%{with_threads}" == "yes" + CFLAGS="$CFLAGS -DTHREADSAFE=1" + %endif ./configure \ --prefix=%{l_prefix} \ %if "%{with_utf8}" == "yes"