The death toll from flooding that hit the eastern Libyan city of Derna reached more than 5,000 and was expected to rise further, a local health official said Wednesday, as authorities struggled to get aid to the coastal city where thousands remained missing and tens of thousands were homeless.