完整错误:
checking for sqlite3 >= 3.6.20... Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing `sqlite3.pc' to the PKG_CONFIG_PATH environment variable No package 'sqlite3' found configure: error: Library requirements (sqlite3 >= 3.6.20) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
s are in a nonstandard prefix so pkg-config can find them.
自己下载编译sqlite3。
https://quantum6.blog.csdn.net/article/details/106129821
然后在PKG_CONFIG_PATH中加入这个路径。