[Bug 1534596] New: perl-Net-Patricia-1.22-15.fc28 FTBFS: /usr/bin/ld: cannot find -lnsl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: orion@xxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    philipp@xxxxxxxxxxxxxxxxxxxxx



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux