title: Cannot install opendkim because cannot find bsd/string.h
body: <p>I tried to install <a href="http://www.opendkim.org/INSTALL" rel="noreferrer">OpenDKIM 2.9.2</a> on AWS to generate the DKIM public &amp; private keys. And when I run <code>sudo ./configure --with-openssl=/usr/include/openssl</code> under the opendkim source code folder, it gave me the following error messages.</p>
  
  <pre><code>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
  </code></pre>
  
  <p>I searched the system and I found the string.h files locate at the following folders</p>
  
  <pre><code>/usr/include/bits/string.h
  /usr/include/string.h
  /usr/include/linux/string.h
  </code></pre>
  
  <p>And I created a folder called <code>bsd</code> under <code>/usr/include</code> (<code>/usr/include/bsd</code>), and created a soft link to the <code>/usr/include/string.h</code>. Then the install process can find the <code>string.h</code> file, but it still cannot find the <code>strlcat</code> and <code>strlcpy</code> functions in that file. So I guess that I need to installed <code>libbsd</code>. Then I ran "<code>whereis libbsd</code>" and I got "<code>/usr/lib64/libbsd.a</code>". So I guess that the lib has been installed.</p>
  
  <p>So now I have no idea about how to fix the issue and install OpenDKIM from source.</p>
  
  <p>Please help me on this. Thanks in advance.</p>