It was probably the Andersonian Library you found? That's the Strathclyde Uni library, essentially all university libraries are limited to students/staff. The [Glasgow Life libraries](https://www.glasgowlife.org.uk/venue-finder?channel=Libraries) are the public ones that anyone can access.