title: Determine if C library is installed on Unix
body: <p>As a follow up question to my <a href="https://stackoverflow.com/questions/1375314/simple-generation-of-guid-in-c">last one</a>, is there any simple way to tell if a given C library is installed on a given machine (not programattically, just as a once off sort of thing)?  I need to use libuuid, but I'm not sure if it's installed on the machines in question.  The only two ways I can think of are:</p>
  
  <p>1) Try to compile the code there (more work than I'd like to do)</p>
  
  <p>2) Try something like "man libuuid" although seems like this wouldn't always be reliable if for some reason the manpages didn't get installed.</p>
  
  <p>Is there some better other way?</p>