The oldest lighthouse I know of is the Tower of Hercules in Spain. It was built by the Romans in the 2nd century and it's still used to today. The design is somewhat complex so I'd surmise that the concept of a lighthouse predates it by quite a bit.