API library is not found (Error 1726)

You have attempted to issue SET LIBRARY TO or RELEASE LIBRARY, but the library you have specified cannot be found.