【发布时间】:2014-06-30 06:22:34
【问题描述】:
我尝试在 AWS 上安装 OpenDKIM 2.9.2 以生成 DKIM 公钥和私钥。当我在 opendkim 源代码文件夹下运行sudo ./configure --with-openssl=/usr/include/openssl 时,它给了我以下错误消息。
checking bsd/string.h usability... no
checking bsd/string.h presence... no
checking for bsd/string.h... no
checking for strlcat... no
checking for library containing strlcat... no
checking for library containing strlcpy... no
checking for strlcpy... no
checking for library containing strlcat... (cached) no
checking for library containing strlcpy... (cached) no
configure: error: no strlcpy/strlcat found
我搜索了系统,发现 string.h 文件位于以下文件夹中
/usr/include/bits/string.h
/usr/include/string.h
/usr/include/linux/string.h
我在/usr/include (/usr/include/bsd) 下创建了一个名为bsd 的文件夹,并创建了一个指向/usr/include/string.h 的软链接。然后安装过程可以找到string.h 文件,但它仍然找不到该文件中的strlcat 和strlcpy 函数。所以我想我需要安装libbsd。然后我运行“whereis libbsd”并得到“/usr/lib64/libbsd.a”。所以我猜这个lib已经安装好了。
所以现在我不知道如何解决这个问题并从源代码安装 OpenDKIM。
请帮助我。提前致谢。
【问题讨论】:
标签: linux email installation dkim