Piggybacking top comment to give some on-the-ground perspective.
My father and that side of my relatives are Tunisians. Although Tunisia and Libya are different there are still certain things that are quite ubiquitous in that entire region: Clan mentality.
Now clan mentality is basically that nothing is more important than your "clan" or people. Be it your cousin's cousin cousin. You see this all across the middle-east, it's why the colonial empires butchered old empires and nations to put clans and ethnicities on different sides of unnatural borders. Divide and conquer afterall.
Basically there's a huge scepticism and even old hatred towards other groups. The only thing that ever unify them is whenever someone even more hated show up... And even then that might not always be enough before infighting and old feuds bubble up again.
The thing here is that westerners have tragically short-sighted observations on these nations. For example the term "arab spring" that started in Tunisia and Libya is hilariously malplaced because extremely few people in these countries would ever identify as arabs. It's as far inbetween Tunisia and the arab peninsula as it is inbetween Spain and Sweden or Sweden and Siberia.
The saddest thing about western perspectives are those of US people because they're somewhat indoctrinated into seeing the world in binary, in black-and-white. Libya in a civil war? Told you so! Should've saved Ghadaffi, did you know he did a lot of good and--- just stop. TLDR Not every situation gives opportunities for good results. Not all, or even most, revolutions go in a straight line towards liberty and freedom. I mean christ how many revolts didn't France have to get their freedoms? US had to have a civil-war and even then didn't get their freedoms till over a hundred years later. There isn't always just two options that are equally valid or alternatives, sometimes there's just shades of least shit option.
Ghadaffi was not an option, when he said he was going to commit genocide he meant it. That the country is still in turmoil was frankly near inevitable, every country has a reckoning with its problems, Libya is having its. That it is tragic is plain for all to see, and I get that people want to wish for- or see an alternative; That is an entirely fine thing to ponder: But this circlejerking smugness of "itoldyouso" for no other reason than to flaunt pretend expertise on a conflict, people and region less than 1 in 100 here have any idea about is on an whole other level of vain.