Compatibility summary
You will need a travel adapter in Libya; plug types used there differ from Mexico. Voltage differs by more than 20% — a voltage converter may be needed for some appliances.
Plug comparison
Mexico plug types: A B
Libya plug types: C F L
There is no common plug type between Mexico (A B) and Libya (C F L). You need a travel adapter.
Voltage comparison
Mexico: 127V, 60Hz
Libya: 230V, 50Hz
Voltage converter recommended (Mexico 127V vs Libya 230V).