Ubuntu repositories couldn't help, so, for future reference, here is what I did:
cd /tmpwget http://www.sqlite.org/sqlite-autoconf-3071201.tar.gztar xvzf sqlite-autoconf-3071201.tar.gzcd sqlite-autoconf-3071201/# set your own optionsCFLAGS="-Os -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE" ./configure --prefix=/usrmake
# quick-n-dirty way to replace the original libsudo mv /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6{,.orig}
sudo mv /usr/bin/sqlite3{,.orig}
chmod -x .libs/libsqlite3.so.0.8.6
sudo cp .libs/libsqlite3.so.0.8.6 /usr/lib/x86_64-linux-gnu/
sudo cp .libs/sqlite3 /usr/bin/
cd# check that Python sees the new versionpython -c 'import sqlite3; print sqlite3.sqlite_version'
# check that SQLite shell workssqlite3
No comments:
Post a Comment