The man, 26, was inside the library at 400 S. State St., when he was approached by a female who pulled out a sharp object and stabbed him around 4:40 p.m., Chicago police said.