Tripoli. Armed groups clashed Friday in western Libya, forcing the closure of a key border crossing with Tunisia, an official and a military commander said.