On Sat, Sep 27, 2014 at 11:08 PM, Hody Crouch <hody.cro...@gmail.com> wrote:
> $ gcc -g -I. dbtest.c -l sqlite3 -ldl -lpthread > $ ./a.out > TRACE: SELECT val1, val2 from t where val2 = 'A%' > What is -l sqlite3 supposed to do? It's not a valid linker flag (-l and its argument should have no spaces between them). It looks to me like you are linking the sqlite3 _binary_ (from the current directory) into your dbtest app (which is a usage error). -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users