Rockets were fired late on Tuesday in the direction of the only functioning airport in Libya’s capital, residents said.