Added "-ldl", needed on Linux to build against dl* functions.