Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103594 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 494 invoked from network); 12 Dec 2018 18:44:35 -0000 Received: from unknown (HELO mail-oi1-f180.google.com) (209.85.167.180) by pb1.pair.com with SMTP; 12 Dec 2018 18:44:35 -0000 Received: by mail-oi1-f180.google.com with SMTP id x202so15245518oif.13 for ; Wed, 12 Dec 2018 07:11:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tIk5rsUzSG+VOEAt8FAkDHQUlf5EBDPiDGbo2U440qE=; b=BC7cbMEcumPnZfX1s2MCosCuqNTg738XXv/drdNqliMwEH6Zi89n5KZv7SLU4fHuqS HAlIpccI9tMqFT/BGKcSJXRNwpWu4wyvFuDMbWQwo/Adr2Us0xok0vSXq37RMmB1mhpt Va+lxFim79F2swNzFggYk3EGrGPS+PglDrRxDY//jvxv1O5gctXp01MT/3oLflSU8IVZ J7EXXGMZI6MACGJko7q7dqg5bmN0kpnUZcPV/p/JSMA9SY43+/MOBBEGAINDUlxOZ6oT lMzKJIE4Z0WftMITKcTU/GPIuxYSq3oYmCaa4a1sQADsqmyKtV5ypySJ3cp6pjmFXqmh BYrQ== X-Gm-Message-State: AA+aEWaCRWmgZ9fcRIQOfZRAN/u1bObwAgVNmfbwrWJXwhzCcv0glgf3 KyqVmwbY84+rQaEfgaTZgoIJcEnxbYNb2dPiV7I= X-Google-Smtp-Source: AFSGD/X17AMNEpRthfgFZMN/u/KaD3Yse8YHOTY02cmEcLA09Zy9CNhFWQWBQr5c1T129xxxwvv3UOisNnjflB716r4= X-Received: by 2002:aca:4d47:: with SMTP id a68mr574402oib.43.1544627519065; Wed, 12 Dec 2018 07:11:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 12 Dec 2018 15:11:47 +0000 Message-ID: To: tessarek@evermeet.cx Cc: PHP internals list Content-Type: multipart/alternative; boundary="0000000000009594ab057cd49eee" Subject: Re: [PHP-DEV] configure bug with static openssl 1.1.1? From: bukka@php.net (Jakub Zelenka) --0000000000009594ab057cd49eee Content-Type: text/plain; charset="UTF-8" On Wed, Dec 12, 2018 at 2:58 PM Helmut K. C. Tessarek wrote: > On 2018-12-08 22:43, Helmut K. C. Tessarek wrote: > > Please don't bite my head off for posting to the internals list, but I > > think it is a bug in configure. If it is not, I'm more than happy to > > post it in the users group. > > > > I run into an error when trying to configure PHP 7.2.13 with a static > > openssl 1.1.1. The strange thing however is that using a static openssl > > 1.0.2 works. > > > > The error is as follows: > > > > checking for OpenSSL version... >= 1.0.1 > > checking for CRYPTO_free in -lcrypto... yes > > checking for SSL_CTX_set_ssl_version in -lssl... no > > configure: error: libssl not found! > > > > I've also tried to set: > > export PKG_CONFIG_PATH=/usr/local/ssl-1.1.1/lib/pkgconfig/ > > > > But it did not help. > > > > Here's my config.log: https://evermeet.cx/pub/logs/config.log > > > > (I've compiled Apache httpd successfully against this static openssl > > 1.1.1 version, so I know that it works.) > > > > Has someone seen this issue before? Any ideas why this is happening? > > > > Cheers, > > K. C. > > > > It seems that nobody thinks this belongs in this group. > > Can anyone tell me where I should post this question to? > To the General user list, or the Installation issues and problems list? > You should create a bug report. Please note that a static configuration has some issues (e.g. https://bugs.php.net/bug.php?id=73609 and think there were more issues maybe). Basically it's not well supported so I would recommend to do a shared build instead otherwise you are probably on your own unless someone finds time to look into it. Cheers Jakub --0000000000009594ab057cd49eee--