Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqB02-0000pR-Mk for pgsql-general@arkaria.postgresql.org; Mon, 26 Feb 2018 05:06:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eqB00-0001Eu-Js for pgsql-general@arkaria.postgresql.org; Mon, 26 Feb 2018 05:06:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqAzz-0001El-R8 for pgsql-general@lists.postgresql.org; Mon, 26 Feb 2018 05:06:52 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqAzs-0007P3-40 for pgsql-general@lists.postgresql.org; Mon, 26 Feb 2018 05:06:51 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4D40720932 for ; Mon, 26 Feb 2018 00:06:41 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 26 Feb 2018 00:06:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=uPyWfHxUp6rAjJqOhYNb+iXDVbl2u /8U+cyDTNldVTo=; b=S9+6fE21X5fzs06MS9eoGQeA/ewvGIdcUxaq+av1Euy/+ IcCmZ1X4Csc0VhcCS64tC6EZtKpRKFG2sfzJDkrofzSyF+waGYCs1GxhgBnzpmfC hsXF790f4ihaYMVRXmPkojY3KsUL5PXYVSIrPcr8Bn2Y+RzC1CVLahBxQoFa1iAv 8LkDXF4Ze0AghMNTOdDqLhWbh/5iAUQ2X7Gs1dd6KEOmq07X55Tv9OxhWX0emtXO L+BgqFLdrXfwd7mlxY7xVEyUIEtQRg7f6+uKhN2Uybqr8IkF4eCjd5kgubqWjPWM biv1RiH0en/8O9P+bJ8r2Vn0+o+dU+hePfumfoTKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=uPyWfH xUp6rAjJqOhYNb+iXDVbl2u/8U+cyDTNldVTo=; b=Loawnfy7/dOQKhPJKR3j/u 6gKQafCL6DxIPItv4YVbGNA262WAXGdNryUOD1A1jNocws26S/B3KIfmHpvWLvRY 7NP7l5xH8k6zoFVEGlLNl9l0YQcO/ZzcR+7tSwl7z+C6s2T8sSjCivz6EYkZh3Ip ObDNI0TI78yoe0TTVi/0LGufIyE/ex+5+F6jE8V0OEqNoTGDYuyANrFQkTY1PhR/ yJzxcVIL5E0nFoXzCBaf6/xYFlv7ZtSeey7Gxdb1euJdChsMUHaiyOyzgw4GP7vw LLneZ1Wlv9FWIH4c9rFtlX2pc5FTSWkLMzeS0HUFpDJVP5Yo0qoe0IGAN87kqYtQ == X-ME-Sender: Received: from [192.168.1.2] (71-35-123-124.tukw.qwest.net [71.35.123.124]) by mail.messagingengine.com (Postfix) with ESMTPA id C2EFC24505 for ; Mon, 26 Feb 2018 00:06:40 -0500 (EST) Subject: Re: is libpq and openssl 1.1.* compatible? To: pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Sun, 25 Feb 2018 21:06:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 02/25/2018 08:36 PM, Konstantin Izmailov wrote: > I got the latest libpq (from pg 10.1), and tried to compile it with > openssl 1.1. I got errors: > libpq10\fe-secure-openssl.c(1582): error C2037: left of 'ptr' specifies > undefined struct/union 'bio_st' > libpq10\fe-secure-openssl.c(1582): error C2198: 'pqsecure_raw_read' : > too few arguments for call > libpq10\fe-secure-openssl.c(1612): error C2037: left of 'ptr' specifies > undefined struct/union 'bio_st' > libpq10\fe-secure-openssl.c(1612): error C2198: 'pqsecure_raw_write' : > too few arguments for call > libpq10\fe-secure-openssl.c(1671): error C2027: use of undefined type > 'bio_method_st' >           openssl-1.1.0g\inc32\openssl\bio.h(244) : see declaration of > 'bio_method_st' > libpq10\fe-secure-openssl.c(1674): error C2027: use of undefined type > 'bio_method_st' > > I wonder if I'm not doing smth right, or libpq is not compatible with > openssl 1.1? Please help. Where did you get the libpq source from? What was the command you used to compile? Do you have openssl-dev(el) installed? > > Thank you! -- Adrian Klaver adrian.klaver@aklaver.com