On Sunday 07 June 2009 14:26:07 Mark Constable wrote:
> Would anyone have a clue as to how I could end up with 
> /usr/lib/libsqlite3.so.0
> as well as /usr/bin/sqlite3 and /usr/lib/libsqlite3.a ?

Another one for the list archives. I'm not sure if this is 100%
correct but the result works for me on linux with sqlite from CVS.

  cc -DTHREADSAFE=0 -fPIC -Os -c sqlite3.c
  cc -shared  sqlite3.o -Os -ldl -Wl,-soname -Wl,libsqlite3.so.0 -o 
libsqlite3.so.0.8.6
  ln -s libsqlite3.so.0.8.6 libsqlite3.so
  cc -DHAVE_READLINE=1 -fPIC -Os -o sqlite3 ./libsqlite3.so shell.c -ldl 
-lreadline -ltermcap -I/usr/include/readline
  ar cru libsqlite3.a sqlite3.o

--markc
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to