check that a library is available
