Steve Lomas says he has great sympathy for Barry Smith who was sacked as manager of Dundee on Wednesday.