https://bugzilla.redhat.com/show_bug.cgi?id=1704785

            Bug ID: 1704785
           Summary: perl-Net-SSLeay-1.85-9.fc29 FTBFS: /usr/bin/ld: cannot
                    find -lz
           Product: Fedora
           Version: 29
            Status: NEW
         Component: perl-Net-SSLeay
          Assignee: p...@city-fan.org
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: jose.p.oliveira....@gmail.com, ka...@ucw.cz,
                    p...@city-fan.org, perl-devel@lists.fedoraproject.org
  Target Milestone: ---
    Classification: Fedora



perl-Net-SSLeay-1.85-9.fc29 fails to build in F29 and F30:

gcc  -lpthread -shared -Wl,-z,relro -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr -L/usr/lib64 -L/usr/lib
-L/usr/local/lib -fstack-protector-strong  SSLeay.o  -o
blib/arch/auto/Net/SSLeay/SSLeay.so  \
   -L/usr -L/usr/lib64 -L/usr/lib -lssl -lcrypto -lz -lperl   \

BUILDSTDERR: /usr/bin/ld: cannot find -lz

That's caused by openssl-devel-1.1.1b-4 that removed a dependency on zlib-devel
and that was pushed into Fedora ≥ 29. A possible fix is applying

commit f571bb6a6929c47b8323c6f2c5214cfefa9dcf37
Author: Paul Howarth <p...@city-fan.org>
Date:   Sat Mar 30 08:06:53 2019 +0000

    Get libraries to link against from pkg-config

    Upstream pull request:
    https://github.com/radiator-software/p5-net-ssleay/pull/127

to that Fedoras.

-- 
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
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org

Reply via email to