I wan to compile sqlite with custom file header I followed the step given here http://trac.edgewall.org/wiki/PySqlite
Download pysqlite
Extract it
export CFLAGS="-DSQLITE_FILE_HEADER=\\\"vivek\\\""
Run python setup.py build_static
python setup.py install -f
But when run python and check sqlite version
>>> import sqlite3
>>> sqlite3.version
'2.6.0'
It is giving old version of sqlite. I think it should be 3. I tried opening the database but I am getting error
sqlite3.DatabaseError: file is encrypted or is not a database
Python Version
python --version
Python 2.7.3