The United Nations on Wednesday declared a famine in parts of southern Somalia amid the worst drought in 60 years, which has sent thousands walking for days to neighboring countries in search of food.