use Net::IDN::Encode ':all'; domain_to_unicode('xn--bienen-fr-tbingen-92bd.de'); fails with: ld-elf.so.1: /usr/local/lib/perl5/site_perl/mach/5.40/auto/Net/IDN/Punycode/Puny code.so: Undefined symbol "uvuni_to_utf8_flags" https://rt.cpan.org/Public/Bug/Display.html?id=149108 https://rt.cpan.org/Public/Bug/Display.html?id=149247 It looks like uvuni_to_utf8_flags was removed from perl since 5.38. There's a patch with 149108.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a98c2b01be2705e2d22d56e5e3cf2d0b7affad9 commit 0a98c2b01be2705e2d22d56e5e3cf2d0b7affad9 Author: Kurt Jaeger <pi@FreeBSD.org> AuthorDate: 2024-09-01 15:35:00 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2024-09-01 15:35:00 +0000 textproc/p5-Net-IDN-Encode: fix Undefined symbol "uvuni_to_utf8_flags" for newer perl versions - Patch from upstream: https://rt.cpan.org/Public/Bug/Display.html?id=149108 PR: 281186 Approved: bofh (maintainer) textproc/p5-Net-IDN-Encode/Makefile | 1 + .../files/patch-lib_Net_IDN_Punycode.xs (new) | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+)