LOS ANGELES  Even the author Ray Bradbury put up a fight, but it was not enough to save the H. P. Wright Library in Ventura, Calif.

The library, like so many around the country, had fallen on hard times as city and state budgets tightened. Mr. Bradbury, a fierce advocate for public libraries, appeared at a fund-raiser last June aimed at helping to save the ailing branch. While that helped the library hang on for a bit, the long-term picture was bleak, and a recent bond measure that would have helped close a $650,000 deficit sunk.

Image Sandy Caron visited the H. P. Wright Library in Ventura, Calif., before its closing. Ray Bradbury had tried to help save it. Credit... Ethan Pines for The New York Times

The library’s final day on Nov. 30 was met with a candlelight vigil. “Needless to say, they put up a good fight,” said Sydney Weisman, a spokeswoman for the San Buenaventura Friends of the Library, which tried to keep the library afloat.