Terry Pratchett has said that he owes a great debt to the public libraries that he used as a boy.
Jean Rhys and L. M. Montgomery are two more novelists who were great readers and had access to a public library when young. As girls they read Charlotte Brontë's Jane Eyre, which made a big impression on them and later influenced their writing.
Jean Rhys and the public library
As mentioned in the article about psychological black magic, Jean Rhys wrote a prequel to Jane Eyre: Wide Sargasso Sea is considered to be her finest work.
Carole Angier says in her biography Jean Rhys: Life and Work that Jean Rhys was a member of the Hamilton Public Library in the British West Indies island of Dominica as a girl, and this was where she first encountered Jane Eyre. The course of her life might have been very different if she had not read this book at an impressionable age, and Wide Sargasso Sea might never have been written.
Jean Rhys had a lot of trouble with this book, which was probably started around 1945 but not published until 1966.
She said that she went to the local public library in Bude in Cornwall in 1957 to get a copy of Jane Eyre. She wanted to re-read it to refresh her memory of Mr Rochester's mad wife, whose story she was telling in Wide Sargasso Sea.