Author cehovski
Recipients cehovski
Date 2020-01-21.14:30:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I've changed ./Modules/_sqlite/util.h

//#if SQLITE_VERSION_NUMBER >= 3007014
#if SQLITE_VERSION_NUMBER >= 3107014 // Change
#define SQLITE3_CLOSE sqlite3_close_v2
#define SQLITE3_CLOSE sqlite3_close


And tried to recompile with a new error:
*** WARNING: renaming "_sqlite3" since importing it failed: build/lib.linux-x86_64-3.8/ undefined symbol: sqlite3_errstr                                                                                                                                                                                                                                                                                                                          The following modules found by detect_modules() in, have been                                                                                                                                                                       built by the Makefile instead, as configured by the Setup files:                                                                                                                                                                             _abc                  atexit                pwd

Failed to build these modules:

Following modules built successfully but were removed because they could not be imported:

Went into ./Modules/_sqlite/connection.c and also changed:
#if SQLITE_VERSION_NUMBER > 3107015 // Change                                                                                                                                                                                                                      PyErr_SetString(pysqlite_OperationalError, sqlite3_errstr(rc));

With these changes the build was successful and I can import sqlite3. But I have no idea if this has any unforeseen consequences.
Date User Action Args
2020-01-21 14:30:19cehovskisetrecipients: + cehovski
2020-01-21 14:30:18cehovskisetmessageid: <>
2020-01-21 14:30:18cehovskilinkissue39410 messages
2020-01-21 14:30:18cehovskicreate