Created attachment 3871 link explicitly against libm xfce4-dict uses symbols from libm but does not explicitly link against it. Attached patch fixes the issue.
Committed, thank you. Just slightly edited it to check for floor() in libm as this is the function which is actually used in the code.