Two security sources told Reuters the police and army have the shooter encircled in a building after he threw a bomb at security forces in a government building and fired at a patrol.
One of the sources said the gunman had been in jail before on charges of belonging to Islamic State.
The Lebanese military confirmed the attack and the death of the soldier, and said the attacker also fired at the security forces center.Lebanese authorities say they have foiled numerous attacks in recent years, including some tied to the conflict across the border in Syria. From 2013 to 2016, militants struck parts of Lebanon repeatedly with bomb attacks, but officials have since said that security has improved.
This is a developing story.