安装sqlite:
[ sqlite]$ wget http://www.sqlite.org/sqlite-3.6.16.tar.gz
[ sqlite]$ tar -xzvf sqlite-3.6.16.tar.gz
[ sqlite]$ cd sqlite-3.6.16
[ sqlite-3.6.16]$
[ sqlite-3.6.16]$ ./configure
[ sqlite-3.6.16]$ make
[ sqlite-3.6.16]$ sudo make install
编译应用代码时要在后面链接动态库 -lsqlite3