The boats carrying more than 100 people had set off from near the Lebanese port city of Tripoli.