当前位置: 代码迷 >> 综合 >> 安装错误 Package requirements (json-c) were not met: No package ‘json-c‘ found
  详细解决方案

安装错误 Package requirements (json-c) were not met: No package ‘json-c‘ found

热度:44   发布时间:2024-03-08 09:53:12.0

错误信息

checking for JSONC… no
configure: error: Package requirements (json-c) were not met:

No package ‘json-c’ 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 JSONC_CFLAGS
and JSONC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

错误截图

在这里插入图片描述

解决方法

安装libjson-c-dev即可解决
sudo apt-get install libjson-c-dev

·

参考地址:https://github.com/rsyslog/rsyslog/issues/322

  相关解决方案