Islamic State militants claimed responsibility Wednesday for a suicide bombing a day earlier in the eastern Libyan city of Benghazi that killed at least seven soldiers.
Tuesday's attack involved an assailant ramming a car into an army checkpoint.
The latest violence came as the United Nations presented a six-part plan to push forward peace talks in the country that remains fractured with rival governments and militias battling for control.
The proposal includes a unity government and a committee to draft a new constitution, as well as plans for new elections after the constitution is in place.
"Libya is risking widespread confrontation and deeper division in which terrorism and its expansion will become a serious threat to the country and the region," the U.N.'s mission in Libya said in a statement explaining the plan. "Libya cannot afford to wait any longer before there is a settlement that could restore security and stability and end the suffering of the people."
Violence and political chaos have plagued Libya since longtime dictator Moammar Gadhafi was overthrown and killed in 2011.