title: path issue after compiling curl
body: <p>I compiled curl after cloning the repo using the following commands:</p>
  
  <pre><code>./buildconf
  ./configure --with-libssh2
  make
  sudo make install
  </code></pre>
  
  <p>However, after sudo make install, if </p>
  
  <ul>
  <li>I run <code>curl -V</code>, I get: bash: <code>/usr/bin/curl: No such file or directory</code>. </li>
  <li>I run <code>/usr/local/bin/curl -V</code>, I get: <code>/usr/local/bin/curl: symbol lookup error: /usr/local/bin/curl: undefined symbol: curl_mime_type</code>.</li>
  </ul>
  
  <p>I tried getting around this by adding the path to curl/src to my PATH variable, and that made the curl command work from the terminal for my user.  But if I try installing <code>php-curl</code>, apache understandably doesn't see curl and installs a different one.</p>
  
  <p>Any ideas on how I can fix this?</p>
  
  <p>Edit:  The other post referred to in the comments was asking where to find the executable after compiling.  That part was answered.  But I still can't get curl to work without adding an entry to my PATH variable, which doesn't seem right.  That's the part I'm trying to figure out now.</p>