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: or...@nwra.com
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: or...@nwra.com, perl-devel@lists.fedoraproject.org,
                    phil...@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.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to