https://bugzilla.redhat.com/show_bug.cgi?id=1534596
Bug ID: 1534596
Summary: perl-Net-Patricia-1.22-15.fc28 FTBFS: /usr/bin/ld:
cannot find -lnsl
Product: Fedora
Version: rawhide
Component: perl-Net-Patricia
Assignee: orion(a)nwra.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: orion(a)nwra.com, perl-devel(a)lists.fedoraproject.org,
philipp(a)redfish-solutions.com
perl-Net-Patricia-1.22-15.fc28 fails to build in F28:
gcc -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-L/usr/local/lib -fstack-protector-strong Patricia.o -o
blib/arch/auto/Net/Patricia/Patricia.so libpatricia/libpatricia.a \
-lnsl -lperl \
/usr/bin/ld: cannot find -lnsl
This is caused by upgrading glibc-headers from 2.26.9000-38.fc28 to
2.26.9000-40.fc28. glibc moved libnsl.so to libnsl2-devel.
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'
However the no header from libsl2-devel seems to be included by
Net-Patricia-1.22 sources. It looks like a mistake.
--
You are receiving this mail because:
You are on the CC list for the bug.