Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103595 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 5542 invoked from network); 12 Dec 2018 19:05:13 -0000 Received: from unknown (HELO atvie01s.evermeet.cx) (77.244.245.66) by pb1.pair.com with SMTP; 12 Dec 2018 19:05:13 -0000 Received: from [192.168.178.28] ([194.106.246.136]) (authenticated bits=0) by atvie01s.evermeet.cx (8.15.2/8.15.2) with ESMTPSA id wBCFWZNj009569 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Dec 2018 16:32:36 +0100 DKIM-Filter: OpenDKIM Filter v2.10.3 atvie01s.evermeet.cx wBCFWZNj009569 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evermeet.cx; s=default; t=1544628756; bh=899KQB+x3P5stRHHeFg0vlZutGmYgm6lJcuocSDz1Y8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Hizy3tZzwk2wYc7ehPFBI2WWWDqqkGW+RI6Q7w83cJAWzS2jkIN8iS7w9/9lZIA+i ebaV/zzXMz1vxmJJeMIMG0fgSH91BcVdnCiB1tyQB/ly+Pd7lIb0BAbqL5cjmVYAf0 MI8zZUgQTipSBAYxi9jKJvUUi2Yc58pS9QSMfZv8= To: Jakub Zelenka Cc: PHP internals list References: Openpgp: preference=signencrypt Message-ID: <2e358c47-f07d-2bd0-dcbf-8ee1282f1ea1@evermeet.cx> Date: Wed, 12 Dec 2018 16:32:35 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] configure bug with static openssl 1.1.1? From: tessarek@evermeet.cx ("Helmut K. C. Tessarek") On 2018-12-12 16:11, Jakub Zelenka wrote: > > 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. Thanks, Jakub for your reply. Hmm, I checked the link you sent, but this ticket has nothing to do with linking against a static openssl library. This ticket mentions that openssl is not supported as a shared extension. But that is not what I'm doing. I try to link against a static openssl library. But it works when linking against a static openssl 1.0.2 lib. Therefore I highly suspect that there's a problem with configure. But I will open a ticket, and I will also try to link against a dynamic openssl 1.1.1. So linking against a static openssl 1.0.2 works, but against a static openssl 1.1.1 does not work. However, linking against a static openssl library should be supported. Years back people even suggested to always link against a static openssl lib because of security reasons (no hijacking of dynamic libs and whatnot). This might not be relevant anymore, but there's no logical reason why linking against a static openssl 1.1.1 should not work. Cheers, K. C.