Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jEuvh-00028Q-Ei for pgsql-general@arkaria.postgresql.org; Thu, 19 Mar 2020 13:09:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jEuvg-0007GU-1O for pgsql-general@arkaria.postgresql.org; Thu, 19 Mar 2020 13:09:44 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1jEuve-0007Eh-4d for pgsql-general@lists.postgresql.org; Thu, 19 Mar 2020 13:09:43 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jEuvZ-0007L4-0M for pgsql-general@lists.postgresql.org; Thu, 19 Mar 2020 13:09:41 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3E4FF856; Thu, 19 Mar 2020 09:09:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 19 Mar 2020 09:09:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=k9fXaMVOVhLIG3kfYt8VYC5u523 uJNPTNGPOti2FpUU=; b=Azfy3rLamyYzARW036RFp7eN5HVv1Z6NK5H3U15SH7+ W1H0Qja4MIvw34La42nEa46lk/RAUh/0C0F0LwdVe/+NamFTtbWBeOC7a6fFXP6w dF+SNtjXeS3MmTs1fJU6Y4loNlCDddRzhiG+aq5xc2igCJS4NDBy2UxnrXj4uKk7 Xy7NfHb8nBGB0Pm/RIIK7dgr/NXZ9Fqg30U00cHaIdwuasTS0YllqmCSzlKmHM8O ak2a4fa89BAsYQ47QUkvJTACvLOiQnbijL+COezyVvPD5ZYHveGkOmgpExCb58Eq B32NXyLTfjES2gqhOPwrInkkfTe7PJbwbBT2jT+gpig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; bh=k9fXaM VOVhLIG3kfYt8VYC5u523uJNPTNGPOti2FpUU=; b=LPaz6x6vPMJ8Oxd4Ts5uKH 9u4tSHR05OALED40lhCQ2s6/HCxabZK97wJ4CGUjdE5IWM+s8dOPGP5Coq6IGG3w NGFnprHDJ2EqS7ys9owb9wcY96RJ/fFu1sJwk5K4u+SSTt4X4pKlsr3cUOM+Cyx/ g8+7/oqWjFtZ7S6PyVHHE1GKd58mJ7h7rdxqDnBJCvTuE6cl+saxTSQx8sJ1y0IK 2Wm8+JId5VKDA0HC5xVN3IDEKMRmA8HZqc4yfrlntPZ0gZaxG2/JBI4EINo3vhuu VEsMWefh/H5DlXmThcl8r4T2K8C0PYevLR8cMpIVuCAWr1RaeJi7IqU3sYZHFCSA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefledggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecu kfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 22D4D306218B; Thu, 19 Mar 2020 09:09:30 -0400 (EDT) Date: Thu, 19 Mar 2020 22:09:28 +0900 From: Michael Paquier To: Peter Krefting Cc: pgsql-general@lists.postgresql.org Subject: Re: RPMs from postgresql.org break CentOS/RHEL RPMs Message-ID: <20200319130928.GU214947@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3a/Z8KDuKqDOIvAo" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --3a/Z8KDuKqDOIvAo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 19, 2020 at 01:41:55PM +0100, Peter Krefting wrote: > I have a system installed where one software is running a database using = the > PostgreSQL 9.2 packages included in the CentOS/RHEL 7 release. On the sid= e, > I am trying to install another software that is using the PostgreSQL 12 > packages found at download.postgresql.org (EL-7-x86_64). However, I am > running into problems when both are installed at the same time, the > postgresql.org ones causes the CentOS packages to fail at run-time: >=20 > psql: symbol lookup error: psql: undefined symbol: pqsignal > psql: symbol lookup error: psql: undefined symbol: pqsignal >=20 > # ldd /usr/bin/psql |grep pq > libpq.so.5 =3D> /usr/pgsql-12/lib/libpq.so.5 (0x00007f93fcbe2000) > # /usr/bin/psql --version > psql (PostgreSQL) 9.2.24 >=20 > How do I resolve this issue, to allow both programs to run on the same ho= st? You need to update your package bundling Postgres 12's libpq to the latest version available, as pqsignal() got removed from libpq and it was a mistake. It got back with this commit as we had similar breakage reports causing linking issues like yours: commit: 06a367c382d0a3595238eff2e777222dbc91911b author: Tom Lane date: Thu, 10 Oct 2019 14:24:56 -0400 Put back pqsignal() as an exported libpq symbol. Here is the thread of the discussion: https://www.postgresql.org/message-id/E1g5vmT-0003K1-6S@gemulon.postgresql.= org -- Michael --3a/Z8KDuKqDOIvAo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl5zbwgACgkQnvQgOdby QH0Tvg//VdRoAXxQzaLqiwxhcMktOcEEjL8yOkkxgCAd5eMH+MOrzpedaXDLgAYF IF4jqPvS/mUzVcQtC24GI/PunFRPGZBNmRiGEjfLf+gJPt4LV6CTZ8DXs9dEGwgy I/UEDKceMHZ8e2psg9FC4dkHFV/aJ/l5Yw3I+jJpPm63RzPqUShLVdt1ztClj+s8 0s3yxjgXdauI2Zcan83K+TF//KmSj+ZUCO/eVEPvhiqdyWYOFBTOceqTqhXhPVYa Cl9o8WC7blZIMkawPDISvSoCIIDlSelWSdS9mkTjNfbHU2EOyHeIdZuA0jqZfqgM n9BQ8yLlmFxHUGwbUzzrSMZF5YQd6lKPn8swexpxSthGJJYYLEH1Ws9YUI/8Y3E7 aqI8b+U+G03qQV7mXJF8ui4ObbzbB0bQWmN7uSpypU4qA0m1ajeItumc4vZR0cU8 Co1Cfj6bRzbl4xxJBYjj1tizCYgk9Jx4tymY7eZgIeTDQM8O/pPmT+yP/IZr1/vJ +dLaUdjMRe9ZiWwwHu2Ei4/iU0BgIAwlaSSfx+MEBZyIWM/QG7XGDhDyriup3lN+ zvE0PG7yuD+cQ3EOe2S55rLKdDrcbCvL8fxGeAKOKEZqlPqE5p/6ZravwFZaoGw1 rzQn81AhVojZbkQJWGur0jIaSsW3AQB+huWxBSkErCD4WzynMjg= =htxm -----END PGP SIGNATURE----- --3a/Z8KDuKqDOIvAo--