title: Setting up a server and can't find libmysqlclient under /usr
body: <p>I am currently setting up a PHP 5.2 server (yes I know, but it is actually needed in this case) but I keep getting an error:</p>
  
  <blockquote>
    <p>configure: error: Cannot find libmysqlclient under /usr.</p>
  </blockquote>
  
  <p>The command that I am running is:</p>
  
  <blockquote>
    <p>./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-libdir</p>
  </blockquote>
  
  <p>I have installed libmysqlclient and when I run </p>
  
  <blockquote>
    <p>locate libmysqlclient</p>
  </blockquote>
  
  <p>I get results returned, although none of them are the file libmysqlclient (the closest is libmysqlclient.a)</p>
  
  <p>I would greatly appreciate any help that can be provided.</p>