@Sylvhem I wrote a text adventure game a few years ago which was set in a library, but I don't know if I have a copy anymore.
I feel like other text adventures might be set in libraries, they're on the edge of my brain but I can't summon them forth.
There's definitely a library sequence, or at least a multiple Book sequence in Lost Pig. At least I think there is.