by naddy. The Makefile.PL was testing for libidn presence (and preventing build if not present, which I didn't notice), but not actually linking it (presumably due to the same reason it wasn't linking libldns/libcrypto). Force -lidn in LDFLAGS to unbreak and produce consistent results.