Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)Call Stack
Posted 柳鲲鹏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)Call Stack相关的知识,希望对你有一定的参考价值。
系统有libxml2,报错应该是没有定义。
- 安装依赖库
apt install libxml2-dev
- 定义环境变量
export LIBXML2_LIBRARY=/usr/lib/x86_64-linux-gnu
export LIBXML2_INCLUDE_DIR=/usr/include
- 再次编译
以上是关于Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)Call Stack的主要内容,如果未能解决你的问题,请参考以下文章
Could not update the distribution database subscription table. The subscription status could not be
Could not execute menu item(internal error),[Exception] Could not perform service action:服务尚未启动。
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘