As a follow up question to my last one, 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:
1) Try to compile the code there (more work than I’d like to do)
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.
Is there some better other way?
Have you considered using
autoconf? It’s designed to check and see whether the build environment is set up correctly.