When you make something free for everybody, instead of just those with a financial need, it's going to be chronically underfunded. We're the richest country in the world, paying trillions in taxes, borrowing trillions more and advocates for every expenditure tell us more funds are needed.
If those with the means paid a fair price for the library resources they are sharing, a library could be open for many more, have better resources AND cost the taxpayer less.
Libraries weren't always free. Like the one Ben Franklin helped establish. These didn't cost the taxpayer anything. And if you wanted to help someone without the means, you would just pay for their membership.
http://www.benjamin-franklin-history.org/lending-library/