Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107625 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 41356 invoked from network); 22 Oct 2019 09:33:12 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 22 Oct 2019 09:33:12 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id BBE2A2D1FCF for ; Tue, 22 Oct 2019 00:19:02 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS47692 77.244.240.0/20 X-Spam-Virus: No Received: from atvie01s.evermeet.cx (evermeet.cx [77.244.245.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Tue, 22 Oct 2019 00:19:01 -0700 (PDT) Received: from epsilon3.local (23-233-9-248.cpe.pppoe.ca [23.233.9.248]) (authenticated bits=0) by atvie01s.evermeet.cx (8.15.2/8.15.2) with ESMTPSA id x9M7ItGf004921 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 22 Oct 2019 09:18:57 +0200 DKIM-Filter: OpenDKIM Filter v2.10.3 atvie01s.evermeet.cx x9M7ItGf004921 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evermeet.cx; s=d201909; t=1571728737; bh=dCUJ07K96DZaY+ApwVjM4biuCmi2FfRzhhULHw8xbMo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=tP2/6IDMyKPTBQPYs8putdGaahjfxjyDkk8rQqLWjFYCrQ/FLRlsi2Vhk4j+aRE1h d04vjJosgow0IjDv3KYydvbwTQDUkt4TXUyxtkdaYl2b6pu4HE3v3GiggRzt597d8B 1nMJOanyX/b2WNZTdoMoDnVJ4LKxtpE676bqUPeUDecqQGOJWSAWGT8MKN9Y9gNtCj yTf+XbRdLtMF3rAUBGk8jeI272neckDgoBUIRqEO2jdJlA6ZWaMoVf/udZMQt1FsHq D4sa+LPzIiZUvaEsNve2aQ+g9/M4vmCFpcUq88CK6jJR7ZFfmK/MmUs9iwVeVGM5kj TzGmu6QdwOwdA== To: Rainer Jung Cc: PHP internals References: <2e358c47-f07d-2bd0-dcbf-8ee1282f1ea1@evermeet.cx> <79bdc208-876f-ea0c-b529-010fe3d129bb@kippdata.de> <6de046b4-905c-e338-d640-14973a448910@evermeet.cx> <6d37qe5jhtm390dqs45hmgpkdvlm3lgj3i@4ax.com> <8f374f74-9896-2555-ffa0-d3559edb86ae@kippdata.de> <0cc918b7-5370-ece2-df43-898fb13a0c1b@kippdata.de> <07a628d5-4b41-2a17-ba0b-ad1677e4f388@kippdata.de> Openpgp: id=8A5570C1BD85D34EADBC386C172380A011EF4944 Message-ID: Date: Tue, 22 Oct 2019 03:18:55 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <07a628d5-4b41-2a17-ba0b-ad1677e4f388@kippdata.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tP6dUMGz5guP39Gn3Phx3tjhY82ZDKSVh" X-Envelope-From: Subject: Re: [PHP-DEV] configure bug with static openssl 1.1.1? - bugid 77288 From: tessarek@evermeet.cx ("Helmut K. C. Tessarek") --tP6dUMGz5guP39Gn3Phx3tjhY82ZDKSVh Content-Type: multipart/mixed; boundary="fSuXueWlPKiJqzhZuy24dF4cKaExXmOzo"; protected-headers="v1" From: "Helmut K. C. Tessarek" To: Rainer Jung Cc: PHP internals Message-ID: Subject: Re: [PHP-DEV] configure bug with static openssl 1.1.1? - bugid 77288 References: <2e358c47-f07d-2bd0-dcbf-8ee1282f1ea1@evermeet.cx> <79bdc208-876f-ea0c-b529-010fe3d129bb@kippdata.de> <6de046b4-905c-e338-d640-14973a448910@evermeet.cx> <6d37qe5jhtm390dqs45hmgpkdvlm3lgj3i@4ax.com> <8f374f74-9896-2555-ffa0-d3559edb86ae@kippdata.de> <0cc918b7-5370-ece2-df43-898fb13a0c1b@kippdata.de> <07a628d5-4b41-2a17-ba0b-ad1677e4f388@kippdata.de> In-Reply-To: <07a628d5-4b41-2a17-ba0b-ad1677e4f388@kippdata.de> --fSuXueWlPKiJqzhZuy24dF4cKaExXmOzo Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-10-22 02:32, Rainer Jung wrote: > If you are willing for another round: >=20 > # The next line only if configure.saved > # no longer exists from the previous try > cp -p configure configure.saved >=20 > # The sed command here is three lines, > # the first two of them continued by a > # backslash at the end of line > sed -e 's/\(LIBS=3D.*\)-lssl \(.*\)/\1 -lssl -lcrypto \2/' \ > =C2=A0=C2=A0=C2=A0 -e 's/\(LIBS=3D.*-lssl=C2=A0 *-lcrypto\)\(.*\)/\1 `$= PKG_CONFIG --libs --static > openssl` \2/' \ > =C2=A0=C2=A0=C2=A0 configure.saved > configure >=20 > If it doesn't work, then please again give us the config.log plus the "= diff > configure.saved configure". It didn't work, but it can't work this way: LIBS=3D" -lssl -lcrypto `$PKG_CONFIG --libs --static openssl` $LIBS" This will find the system openssl and not my openssl 1.1.1. But if I set export PKG_CONFIG_PATH=3D/usr/local/ssl-1.1.1/lib/pkgconfig then other libraries are not found. I seriously don't understand why link= ing to 2 files in /usr/local/ssl-1.1.1/lib is so complicated. Apache httpd ca= n do it. dovecot can do it. Every other software paxckage I compile can do it.= PHP is the only one that fails. Once again, it does work with my other (non-system static openssl 1.0.2).= I never link against the system openssl (my server has an uptime of more = than 5 years), but unfortunately I can't remove it either. So if I change the path from /usr/local/ssl-1.1.1 to /usr/local/ssl (whic= h holds my static 1.0.2 non-sysetm openssl) all works well. Anyway, here are the 2 files you requested: https://evermeet.cx/pub/logs/config.php72.2.log https://evermeet.cx/pub/logs/diff.2.patch I'm heading to bed now. Thanks for all your help so far. Cheers, K. C. --=20 regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 Key fingerprint =3D 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */ --fSuXueWlPKiJqzhZuy24dF4cKaExXmOzo-- --tP6dUMGz5guP39Gn3Phx3tjhY82ZDKSVh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAl2urV8ACgkQvgmFNJ1E 3QAhYA/8C6KD3L9smTOAdK1WpNCtSMI1Mq/hHdPanB5Km2BSDcnebwoWO7BO6ngk mgJMAM53EGcEyMVU/EL1lWLIPpXgsnlu+FrskedxoKwdWGVHCGf7dqRVNjRdb6AT AhP+N8+4uamyxsRQACOiW+3D0gUT/+6NRPqs2a78KJC+gvf/wkaO3mBkxnH4Jabx OwqeXZVMrXb64GDX/l5zkGZvzdmfVBuKVIXz1I0gbKv1Q7u+S+fqpcR6b2HFbD2O LKpeSm9OaWKsq513lG2fvRMcgC2N7t2Gxf52PEwBMpr7/GDvQmv5TfF8CnVSCcaw LmRp/FfX7QB3EmK1SmFbBsFpUZGp7rNO38zzb7I5jVSZbvEi6rost1g01Ahgr9/x vQTOWFLNgwGSuCC34dTBDIGUQD2GMQIZ956WQUYPOvGzwLGGg1Ycy8mX3yRHT03l vLgzDzXRh7PQYtW/HdBTYFcKDi3fMayoXiYCZkLNdo3nznNtWhbAx4MGrwCaQfgS Y3pN4sB36gPsnd1jF8/bJ1zdv5y1fQ29a361+DZx1jRWLgJK0jg2BCBSlMqoIuND Ka/8mAFb2eoth4GA8DuLLKOD/V6Ck58y4/j0/DLJEsJ5enDIl65fde2WC9Fgk9e0 ArsfR7jRyng92NjeelDtJhu+06nw4+x9GDKl2fKUDHuGbViQ6Dk= =DyYW -----END PGP SIGNATURE----- --tP6dUMGz5guP39Gn3Phx3tjhY82ZDKSVh--