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

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

2013-05-23 Thread Stephan Beal
On Thu, May 23, 2013 at 11:45 AM, Prashant Shah wrote: > Works ! > :). That fix is in the trunk now. > How do I build the libsqlite4.so shared object file ? There is no > .libs folder in sqlite4 > There currently aren't build rules for the .so, but here's a quick-hack

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 Stephan Beal
On Thu, May 23, 2013 at 11:23 AM, Stephan Beal wrote: > The problem is that fts5func.c uses log() from math.h, which requires > linking against -lm. A quick workaround is to copy/paste the output from > where the build fails and add -lm to it: > Please try: - Edit

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

2013-05-23 Thread Stephan Beal
On Thu, May 23, 2013 at 7:33 AM, Prashant Shah wrote: > 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 > The problem is

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-22 Thread Stephan Beal
On Wed, May 22, 2013 at 4:13 PM, Prashant Shah wrote: > How can I compile sqlite4 ? Is there a amalgamation file available ? > Try: make -f GNUmakefile.linux or: ln -s GNUmakefile.linux GNUmakefile make That "should" do it for you. -- - stephan beal

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