How easy/impossible would it be to have an unavailable PHP library installed?

Generally it’s very easy depending on the library.