Subject: | Useless linking to nsl library |
Net-Patricia's Makefile.PL:8 explicitly links to libnsl:
WriteMakefile(
'NAME' => 'Net::Patricia',
'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
→ 'LIBS' => ['-lnsl'], # e.g., '-lm'
That causes a build failure with developmental GNU libc library that removed the library and header files in favor of standalone libnsl implementation <https://github.com/thkukuk/libnsl> that supports IPv6.
Quick search through Net-Patricia-1.22 sources reveals no libnsl headers files are included. I recommend removing the '-lnsl' from LIBS in the Makefile.PL.