ARTICLE AD BOX
I am trying to link a custom version of sqlite3 when building python, but there is an error when compiling python :
/usr/bin/install: cannot stat 'Modules/_sqlite3.cpython-313-x86_64-linux-gnu.so': No such file or directory make: *** [Makefile:2325: sharedinstall] Error 1
It does not pick up the custom sqlite despite pointing out to it with th following environment variables:
export CPPFLAGS="-I/opt/sqlite/include" export CFLAGS="-I/opt/sqlite/include" export C_INCLUDE_PATH="/opt/sqlite/include:${C_INCLUDE_PATH}" export LDFLAGS="-L/opt/sqlite/lib" export LIBRARY_PATH="/opt/sqlite/lib:${LIBRARY_PATH}" export LD_LIBRARY_PATH="/opt/sqlite/lib:${LD_LIBRARY_PATH}" export PKG_CONFIG_PATH="/opt/sqlite/lib/pkgconfig:${PKG_CONFIG_PATH}"How can I ensure that the custom sqlite is used and not the system version?
Edit: Here is the github link for the shell scripts that I am using to build sqlite and link it to python.
