3 ms·
You set the LD_LIBRARY_PATH environment variable (https://unix.stackexchange.com/a/24833 https://unix.stackexchange.com/a/24833). Specifically, you'll need to
by icegreentea2 6y ago
You set the LD_LIBRARY_PATH environment variable (https://unix.stackexchange.com/a/24833 https://unix.stackexchange.com/a/24833).
Specifically, you'll need to recompile libsqlite3, put it somewhere, and then set LD_LIBRARY_PATH before invoking Python. You can do that globally in your shell by modifying your .bashrc or similar file.
Or if you're super brave, you just replace the libsqlite3.so that Python is pointing to (really depends on your use case).