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
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
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 way
to do it:
gcc -fPIC
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
Thanks.
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 Makefile.linux-gcc and make thi
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 that fts5func.c uses log(
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
_
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
http://wanderinghorse.net/home/stephan/
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
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
configure.in:
9 matches
Mail list logo