无法编译新的Ubuntu 16 libvirt的页面上方安装
以下说明:https://libvirt.org/compiling.html无法编译新的Ubuntu 16 libvirt的页面上方安装
收到以下错误运行./configure
感谢
checking for LIBNL... yes checking for LIBNL_ROUTE3... no configure: error: Package requirements (libnl-route-3.0) were not met:
No package 'libnl-route-3.0' 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 LIBNL_ROUTE3_CFLAGS and LIBNL_ROUTE3_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
然后我尝试后安装:
[email protected]:~/libvirt-3.5.0$ sudo apt-get install libnl-route-3.0 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libnl-route-3.0 E: Couldn't find any package by glob 'libnl-route-3.0' E: Couldn't find any package by regex 'libnl-route-3.0'
然后我试试这个:
[email protected]:~/libvirt-3.5.0$ sudo apt-get install libnl-3-dev
bnl-3-dev Reading package lists... Done Building dependency tree Reading state information... Done libnl-3-dev is already the newest version (3.2.27-1ubuntu0.16.04.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
尝试做sudo apt-get install libnl-route-3-dev
它将工作。
我运行完全相同的错误,您是否设法在Ubuntu 16.04上安装最新的libvirt版本? –