欢迎光临
我们一直在努力

解决CentOS 7编译php错误:No package 'sqlite3' found

环境

  • CentOS Linux release 7.3.1611 (Core) 搬瓦工
  • php:php-7.4.3

错误信息

configure: error: Package requirements (sqlite3 > 3.7.4) were not met:

No package 'sqlite3' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

解决办法

sudo yum install sqlite-devel
赞(0) 打赏
未经允许不得转载:Ddmit » 解决CentOS 7编译php错误:No package 'sqlite3' found

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

登录

找回密码

注册