Richard, worked!!!! =)) Thank you so much!!
What I did: - Downloaded sqlite-2.8.8.tar.gz - Followed: $ tar -xzvf sqlite-2.8.8.tar.gz $ mkdir bld $ cd bld $ ../sqlite/configure So far, this is what the site tells you to do... I added these things myself to the Makefile... TCC = gcc -g -O2 -DTHREADSAFE=1 -DNDEBUG=1 ........ LIBREADLINE = ....... -lpthread Then: $ make $ cd .libs $ strip libsqlite.so.0.8.6 That's all. Now the libsqlite.so file is only 260K (less than half the last size)... May I ask?? - Is the threadsafe really enabled by changing only those two lines in the Makefile? - Isn't the libsqlite.so too small? Haven't I stripped too much from it?? Thank you so much again!! Roger Reghin. ----- Original Message ----- From: "D. Richard Hipp" <[EMAIL PROTECTED]> To: "Roger Reghin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 30, 2003 11:48 AM Subject: Re: [sqlite] Compiling a shared library (.so) WITH threadsafe option enabled > Roger Reghin wrote: > > I managed to compile SQLite (2.8.8) under Linux with the ThreadSafe option > > set to 1. > > > > It works, but the file size is twice as big as the original .so from the > > SQLite site (without the ThreadSafe portion). > > > > What should I do, or, what I shouldn't do??? > > > 1. Run "strip" to remove symbolic information from the library. > 2. Compile with -DNDEBUG=1 > 2. Compile with -O2 > > -- > D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]