I found the local libraries to be disappointing (Raleigh, Charlotte, Austin) in that they focus on romance and children's books. They have no interest in older sci-fi paperbacks, and certainly not in acquiring 4 cubic yards of them.
In tech towns like Raleigh, Austin, the Bay Area, I would think there'd be a market for a sci-fi/fantasy specific lending library, but I don't know if it'd pay to run it as a business.
Looking to discard a bunch of paper books a few years ago, I discovered that local libraries often do not particularly want donations of books, and if they do, they have particular requirements of what they might want. E.g., if they accept anything at all, they might accept a novel in good condition, but probably not a first edition of "Just Java".
Why not a local library? Same tax advantage, but a much higher chance that the books will get into the hands of readers at no cost.
I mean, assuming lending libraries even exist any more -- I haven't checked. :)