librsvg uses libm functions so should link against it. https://bugzilla.gnome.org/show_bug.cgi?id=616835