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 1kEHzW-0008Qj-9p for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Sep 2020 20:07:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kEHzV-0002HP-7O for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Sep 2020 20:07:21 +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 1kEHzU-0002HI-5g for pgsql-hackers@lists.postgresql.org; Fri, 04 Sep 2020 20:07:21 +0000 Received: from [66.111.4.226] (helo=forward2-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEHzP-0007Pj-34 for pgsql-hackers@lists.postgresql.org; Fri, 04 Sep 2020 20:07:19 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id 9B69719416A0; Fri, 4 Sep 2020 16:07:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 04 Sep 2020 16:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=Z866Sv YhDcnzVHrPf35NgAHjRIytAqBrVN5V56YhV18=; b=p4sf1blFjDt2G8cIVF/YJZ FdYyI4oFfqmxC2/Juj++Z0XDziOGVV2U5eX2AvK6w5FKCDFz9VCJr16JU6VnHtdL H8kYNBiGFILbJT/3AF9dGkRAitqjTGz4HVu7Jv6zsMzEc8dxQ2EzvH39T8MlzRse TrVXAL3a5jiO6av0dYEXPWAFneYRM3lN1xKeCEtakcKXLgEDzSm0hSk3uNC5H/Jw LOmWBm37Dm4dOLcoOD+knxCKgTEsj0rBFUnFaY84nPvkpUR6mVo2far4VhpxrAtD EZvGOqHTV5WEUtuY9bibqjod5f1VI613UdqHKcZIvsK5qjTuxD68671Cj6rE46Ng == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegfedgudegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuhffvfhhokffffgggjggtsehmtderredtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuggftrfgrthhtvghrnhepfeetieelveeigeeigfdt feekuedufedtheeviedtffejtdduheffledvhfehudetnecuffhomhgrihhnpedvnhguqh hurggurhgrnhhtrdgtohhmnecukfhppeeluddrudegrddvfeefrdeffeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvg hnthhrrghuthesvdhnughquhgrughrrghnthdrtghomh X-ME-Proxy: Received: from april.pezone.net (p5b0ee921.dip0.t-ipconnect.de [91.14.233.33]) by mail.messagingengine.com (Postfix) with ESMTPA id D38C13280059; Fri, 4 Sep 2020 16:07:02 -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> Organization: 2ndQuadrant Message-ID: <1c12e077-c7c3-7a84-4aba-b6c808d83fb8@2ndquadrant.com> Date: Fri, 4 Sep 2020 22:07:00 +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: <033443ae-cccc-ad2f-51f6-8b5c25cc2d2c@2ndquadrant.com> Content-Type: multipart/mixed; boundary="------------B6B5C4E76A5EB9381435A629" Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.226 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------B6B5C4E76A5EB9381435A629 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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. >> -liconv: is required by -lintl (though possibly depends on whether >> gettext was compiled with iconv support) I think the solution here would be to have gettext provide a pkg-config file. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --------------B6B5C4E76A5EB9381435A629 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-Add-libpq-s-openssl-dependencies-to-pkg-config-file.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="0001-Add-libpq-s-openssl-dependencies-to-pkg-config-file.pat"; filename*1="ch" RnJvbSAzNThlMjMyNjhmYmQ0Mjk4OWE2NGQzMzI2Njc4YzJjODMzMjZhYTc3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRlciBFaXNlbnRyYXV0IDxwZXRlckBlaXNlbnRy YXV0Lm9yZz4KRGF0ZTogRnJ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