Of course it helps to spell -ldl correctly.