In most cases, libraries don't own the copyright of the books in their collection. It means the permission to use and copy the book needs to be granted by the copyright owner.