lite3.connect(':memory:')
>>> conn.create_function('f', 2, lambda *args: None, deterministic=True)
>>>
Thanks very ! Every step in compilation should be with the same environment
variable. Thanks again!
在 2021年1月21日星期四 UTC+8 上午5:57:43, 写道:
> On Wed,
2021年1月21日星期四 UTC+8 上午5:57:43, 写道:
> On Wed, Jan 20, 2021, at 16:45, Random832 wrote:
> > 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_P
host sqlite]$ env | grep LD_
LD_LIBRARY_PATH=/home/felix/.local/mpfr/default/lib/:/home/felix/.local/gmp/default/lib/:/home/felix/.local/mpc/default/lib/:/home/felix/.local/sqlite/default/lib:/home/felix/.local/mysql/default/lib
LD_RUN_PATH=/home/felix/.local/sqlite/default/lib
在 2021年1月21日星期四
System environment:
Cent OS 7
Sqlite3 3.34.0 (Compile from source)
Python 3.9.1 (Compile from source)
Django 3.1.5 (Pip install)
1. Compile sqlite3:
./configure --prefix=/home/felix/.local/sqlite/sqlite-3.34.0
make && make install
2. Add sqlite3 lib to lib search path:
export LD_LIBRARY_PATH=/