当我尝试配置GnuTLS时,出现了Libnettle 3.4未找到的错误。我已经安装了nettle 3.4.1-1,并且库文件位于/usr/lib中。即使我直接指定环境变量NETTLE_LIBS
(export NETTLE_LIBS="-L/usr/lib -R/usr/lib -lnettle"
),它仍然会抛出那个错误信息。
在config.log中有以下更具体的消息:
Package dependency requirement 'nettle >= 3.4.1' could not be satisfied.
Package 'nettle' has version '3.4', required version is '>= 3.4.1'
我在这里缺少什么?
Package nettle was not found in the pkg-config search path. Perhaps you should add the directory containing 'nettle.pc' to the PKG_CONFIG_PATH environment variable. No package 'nettle' found
。我在<libfolder>/pkgconfig/中找到了nettle.pc。 - Harish Ganesan