Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGN3g-00082C-Dh for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2020 13:56:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kGN3f-00081U-B6 for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2020 13:56:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGN3f-00081M-4N for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2020 13:56:15 +0000 Received: from wforward3-smtp.messagingengine.com ([64.147.123.22]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGN3b-0003gs-MI for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2020 13:56:14 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.west.internal (Postfix) with ESMTP id C16015D0; Thu, 10 Sep 2020 09:56:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 10 Sep 2020 09:56:08 -0400 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=LA7RACA2G+w7F2qrRNFQFMjSAXOBaNKEDIyY9MBDQ EY=; b=QPU9u6Sl/c5maOsDfMjnuCVZNCH3wdWBtdR6NqAnRQlH8HtGGs5Za7zOr MIdNdYh6yMywTkqjka5gsDDjetIMRNx78CSqbdMwgH+mRDrbdWGD1/euoOXqLyee nG6YXIr447xiTzT19VszWHDax5/a2qGaSEImqsjiosotLm1JMTzecKULKiFA2sUC xG0oQQKq1/CLzVRNDgQtBqc9KhvlXTQAzc3ba2UV1jGFu0Q7M8RGa91c4ecgD02l Bl+kzEnaWGIyph45yP1IsrG/gYMEoWXmU6MS3V3m+SiOkkVR6MK9ESFJg9CG13Hu Gi1f72F9zDDoMgWcMu2GLNLEC1PfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehjedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffhvfhfohfkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuggftrfgrthhtvghrnheptdehfefgvdduffdufedv jeefudekgeduveejvefhuddukeeuhfdvveeujeefvdetnecuffhomhgrihhnpedvnhguqh hurggurhgrnhhtrdgtohhmnecukfhppeekjedrudejjedrjeelrdehleenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvg hnthhrrghuthesvdhnughquhgrughrrghnthdrtghomh X-ME-Proxy: Received: from april.pezone.net (p57b14f3b.dip0.t-ipconnect.de [87.177.79.59]) by mail.messagingengine.com (Postfix) with ESMTPA id 88494328005E; Thu, 10 Sep 2020 09:56:07 -0400 (EDT) Subject: Re: [Patch] Add missing libraries to Libs.private of libpq.pc From: Peter Eisentraut To: Sandro Mani , PostgreSQL Hackers References: <837d1dcf-2fca-ee6e-0d7e-6bce1a1bac75@gmail.com> <033443ae-cccc-ad2f-51f6-8b5c25cc2d2c@2ndquadrant.com> <1c12e077-c7c3-7a84-4aba-b6c808d83fb8@2ndquadrant.com> Organization: 2ndQuadrant Message-ID: Date: Thu, 10 Sep 2020 15:56:31 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1c12e077-c7c3-7a84-4aba-b6c808d83fb8@2ndquadrant.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-09-04 22:07, Peter Eisentraut wrote: > On 2020-07-10 21:47, Peter Eisentraut wrote: >> On 2020-04-08 11:38, Sandro Mani wrote: >>> The following patch, which we added to build mingw-postgresql on Fedora, >>> adds some missing libraries to Libs.private of libpq.pc, discovered when >>> attempting to statically link with libpq: >>> >>> -lz: is required by -lcrypto >> >> I think the correct fix for that would be to add libssl to libpq's >> Requires.private. > > For that, I propose the attached patch. committed -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services