Books in a lending library can be categorized as:
For stocking a library you could get books from:
library book sale
Goodwill stores may have book lots
Websites like Powells connect different dealers and sellers and have books available at discounted rates.
Contact friends,relatives and others who wish to donate books.