错误信息
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