I figured it out, this is the correct: -L-L/usr/lib/Derelict2 -L-lDerelictSDL -L-lDerelictUtil -L-ldl I don't know why, but the dl library is needed. Thank you for your help.