MICHELE NORRIS, host: In Libya, rebel militias are busy fighting the last forces loyal to ousted leader Moammar Gadhafi.
But as the military endgame draws closer, NPR's Corey Flintoff reports that some are worried about the political battles that have just begun.
COREY FLINTOFF: The leaders of the American Revolution faced something like the same problem that the leaders of the Libyan Revolution are facing today: How to get from a military conflict to a civilian government. In Libya, the problem is magnified because the fighting is still going on, and the military consists of various regional militias that don't answer to a single commander.
The rebels operate under the banner of the Transitional National Council, an un-elected group that consists of Libyan dissidents, former exiles and officials who defected from the Gadhafi regime.
Mamoud Jabril is the equivalent of the prime minister of the TNC, and he's trying to form an interim government that can run the country until a constitution is drafted and elections can be held. Jabril has become a lightning rod for criticism, some of it from militia leaders and their allies.
He vented some of his own frustration at a news conference on Thursday.
Dr. MAHMOUD JABRIL: (Foreign language spoken)
FLINTOFF: He said he doesn't plan to be part of the interim government and that the TNC would be doing him a favor by asking for his resignation now.
Jabril also said that the formation of the interim cabinet would be put off until Gadhafi loyalists are routed from the cities of Sirte and Bani Walid, a process that could take weeks, if not months.
Reports from the eastern city of Benghazi, where the TNC has been meeting, say the members simply haven't been able to agree on who should fill important cabinet posts.
Some of the criticism of Jabril is coming from Misrata, whose rebels fought hard for months to take their city from Gadhafi forces, then went on to take a big role in the capture of Tripoli.
This is Fafi Beshtara(ph), the spokesman for the Misrata Military Council.
FAFI BESHTARA: (Foreign Language Spoken).
FLINTOFF: He says Jabril has performed badly as Prime Minister and, he adds, he can say that as part of the democratic give-and-take in the new Libya. The Misratis are promoting their own candidate for prime minister, a local businessman. There's another factor in the effort to form an interim government, the militias controlled by Islamists.
One lightning rod for that group is Abdel Hakeem Bell Hodge, the military commander of Tripoli. He was part of an unsuccessful attempt by an Islamist group to overthrow Gadhafi in the 1990s and later spent time in Afghanistan, where the Gadhafi regime said he was linked to al-Qaida.
An influential Muslim cleric allied to Bell Hodge has attacked Jabril as a secularist who worked for the Gadhafi regime before defecting to the revolutionaries. Bell Hodge himself recently had an op-ed piece in Britain's Guardian newspaper, in which he said that secular politicians are attempting to exclude the Islamists. In his words, it is as though they want to push Islamists toward a non-democratic option by alienating and marginalizing them.
It's not clear what Bell Hodge meant by a non-democratic option, but it's a worrisome thought in a country awash in weapons and fighters. Bell Hodge may have as many opponents as Jabril, including the leaders of other militias.
Ibrahim Madani is a commander of a brigade from Zintan, another militia that saw hard fighting. Madani says he supports Jabril and he vehemently opposes Bell Hodge. He says the rebel groups will fight to stop Islamists from hijacking the revolution.
IBRAHIM MADANI: (Unintelligible), you know, by talking first and if they don't want there's the other way. We can fight until the end and not only me. You know, there are thousands of me.
FLINTOFF: For now, the fighters and the politicians of Libya are talking, trying to build networks of trust. Fafi Beshtara repeats a phrase that's often heard from the Misrata military leadership. Their fighters, he says, gave their blood for the freedom of Libya, not for political positions.
Corey Flintoff, NPR News, Tripoli.