Re: sqlite3 cannot detect the version of compiled sqlite version at some point in runtime.
Random832
random832 at fastmail.com
Wed Jan 20 16:45:54 EST 2021
On Wed, Jan 20, 2021, at 14:54, panfei wrote:
> 3. Compile Python 3.9.1
> C_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/
> CPLUS_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/
> LD_RUN_PATH=/home/felix/.local/sqlite/default/lib ./configure
> --prefix=/home/felix/.local/python/python-3.9.1 --enable-optimizations
> make && make install
How *exactly* did you compile python? i.e. what specific commands, to make it pick up those include paths? Because from the symptoms you are reporting, it sounds like it was not compiled against the correct version of sqlite.
More information about the Python-list
mailing list