巧乐之   文章
22-06-03T20:14:09

linux sqlite升级试验 - 片段

10. cd tcl8.5.19/unix
11. ./configure --prefix=/usr/tcl
12. make 
13. make install 
14. ln -s /usr/tcl/bin/tclsh8.5 /usr/local/bin/tclsh

15. rm -rf sqlite/  # 再来
16. tar -xzf sqlite.tgz
17. cd sqlite 
18. ./configure --prefix=/usr/local/sqlite3
19. make 
20. make install 

21. ln -s /usr/local/sqlite3/bin/sqlite3 /usr/local/bin/sqlite3

大图

由于粗暴地改了名字,所以现在干脆连不上sqlite3
尝试安装python3

22. cd Python-3.10.4
23. ./configure --prefix=/wpc/python/python3.10
24. make 
25. make install # 由于sqlite 已经被删掉了,所以这里会有错误1,启动python3后, import sqlite3会出错

再来:

26. cd Python-3.10.4
27. LD_RUN_PATH=/usr/local/sqlite3/lib ./configure LDFLAGS="-L/usr/local/sqlite3/lib" CPPFLAGS="-I/usr/local/sqlite3/include"  --prefix=/wpc/python/python3.10
28. LD_RUN_PATH=/usr/local/sqlite3/lib make
29. make install # 还是不行

把粗暴改名的sqlite找回来,把新的sqlite3符号链接去掉后,再做,还是错误1,但是似乎可以用了

安装openssl1.1.1