1

我正在 Linux Ubuntu 20.04, kernel version - 4.15.0-154-generichttps://wiki.whamcloud.com/display/PUB/Build+Lustre+MASTER+with+Ldiskfs+on+Ubuntu+20.04.1+from+Git#BuildLustreMASTERwithLdiskfsonUbuntu20.04.1fromGit-Prerequisites 源代码在 ubuntu 20.04 上安装光泽文件系统。在我的最后一步configure ,得到:

checking for LIBNL3... no
configure: error: Package requirements (libnl-genl-3.0 >= 3.1) were not met:

No package 'libnl-genl-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 LIBNL3_CFLAGS
and LIBNL3_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
``` error. 

What maybe the problem? 
4

1 回答 1

-1

您需要安装所需的 -dev 库:

$ apt search libnl-genl
...
$ sudo apt install libnl-genl-3-dev
于 2021-09-10T17:30:12.927 回答