the library wall has old chalk and some spray paint from a decade ago. what primer survives that?
Wash it with a mild detergent and a stiff brush, let it dry two days, then a masonry bonding primer. Don't skip the wash. Primer over dust is paint over nothing.
If the spray paint's still shiny, scuff it with a sanding sponge first. Otherwise the primer slides.