Recognizing Libya

For the time being, Libya is divided in two. This leaves the international community with a dilemma. Which Libya must it recognize and, more importantly, how is that recognition to be formulated in legal terms?