[sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-22 Thread Prashant Shah
Hi, How can I compile sqlite4 ? Is there a amalgamation file available ? I tried downloading the fossil package : $fossil clone http://www.sqlite.org/src4/sqlite4.fossil sqlite4 $ ./autogen.sh configure.in: warning: missing AC_CHECK_FUNCS([fdatasync]) wanted by: src/lsm_unix.c:181

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-22 Thread Prashant Shah
Hi, Also, how do I build a .so file ? Regards. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-22 Thread Prashant Shah
On Wed, May 22, 2013 at 7:53 PM, Stephan Beal wrote: > make -f GNUmakefile.linux libsqlite4.a(fts5func.o): In function `fts5Rank': /home/user/db/build/sqlite4/src/fts5func.c:159: undefined reference to `log' collect2: ld returned 1 exit status make: *** [sqlite4] Error 1

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Prashant Shah
Hi, On Thu, May 23, 2013 at 3:02 PM, Stephan Beal wrote: > Please try: > > - Edit Makefile.linux-gcc and make this change: > -TLIBS = > +TLIBS ?= > > - Run: make TLIBS=-lm Works ! How do I build the libsqlite4.so shared object file ? There is no .libs folder in sqlite4

Re: [sqlite] compiling sqlite4 on ubuntu 12.04 64 bit

2013-05-23 Thread Prashant Shah
Hi, On Thu, May 23, 2013 at 3:23 PM, Stephan Beal wrote: > gcc -fPIC -o libsqlite4.so -shared $(ar t libsqlite4.a) Works :) Thanks. ___ sqlite-users mailing list sqlite-users@sqlite.org