North Atlantic Treaty Organization aircraft struck a military installation in the Libyan capital Tripoli on Thursday while forces loyal to Col. Moammar Gadhafi shelled the port area of the besieged city of Misrata, killing at least 13 people and preventing aid boats from docking there.

A convoy of aid ships was waiting several miles off the...