Did you try googling for "pthreads win32": http://sources.redhat.com/pthreads-win32/ If you want thread safety with sqlite then you must install this pthreads library, if not - then just rerun ./configure with --disable-threadsafe
Peter Bartholdsson wrote: > Hello all, I've been using MinGW to compile SQLite for > over a year already and encountered a problem I've never > seen before when trying to compile SQLite 3.0.7. > > The error message is as follows: > $ mingw32-make > ./libtool --mode=link gcc -g -O2 -DOS_WIN=1 -I. -I../src -DNDEBUG -DHAVE_READLINE=1 > -I/mingw/include/readline -lpthread \ > -o sqlite3 ../src/shell.c libsqlite3.la -lreadline > gcc -g -O2 -DOS_WIN=1 -I. -I../src -DNDEBUG -DHAVE_READLINE=1 > -I/mingw/include/readline -o sqlite3 ../src/shell.c ./.libs/libsqlite3.a -lpthread > -lreadline > c:\msys\mingw\bin\..\lib\gcc\mingw32\3.4.1\..\..\..\..\mingw32\bin\ld.exe: cannot > find -lpthread > collect2: ld returned 1 exit status > c:\msys\mingw\bin\mingw32-make.exe: *** [sqlite3.exe] Error 1 > > > Just as a note SQLite 3.0.6 compiles without any problem. > From googling I've understood this has something to do with > threading but everything I found was linux related, none of > it related to MinGW. > Apparently it's something called liblpthread, however I've > not seen this for MinGW and none of the packages I've installed > seems to include it. > > Anyone have any ideas? > > Regards, > Peter Bartholdsson

