0

有人可以帮我解决这个错误:

pkg-config --cflags  -- libcryptsetup
Package libcryptsetup was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcryptsetup.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcryptsetup' found

我的服务器:

Red Hat Enterprise Linux Server 7.8 版 (Maipo)

  ~> rpm -qa | grep cryptsetup
cryptsetup-libs-2.0.3-6.el7.x86_64
cryptsetup-2.0.3-6.el7.x86_64

我不太确定如何为 PKG_CONFIG_PATH 设置 ENV var。

谢谢詹姆斯

4

0 回答 0