Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfzsA-00E2U7-0g for pgsql-general@arkaria.postgresql.org; Tue, 12 Sep 2023 09:39:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qfzs7-007L4s-8K for pgsql-general@arkaria.postgresql.org; Tue, 12 Sep 2023 09:39:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfzs6-007L4g-Pb for pgsql-general@lists.postgresql.org; Tue, 12 Sep 2023 09:39:50 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfzs1-0047n1-0i for pgsql-general@lists.postgresql.org; Tue, 12 Sep 2023 09:39:49 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id B6D7BDD63; Tue, 12 Sep 2023 11:39:41 +0200 (CEST) Date: Tue, 12 Sep 2023 11:39:41 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Upgrade problem Message-ID: <20230912093941.ssaptbjhp6tmcxsp@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b4rr7gfayfgfanj5" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --b4rr7gfayfgfanj5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-09-11 17:04:54 +0100, Graeme wrote: > Preparing to upgrade my small cluster from Mageia 8/Pg 9 to Mageia 9/Pg 1= 5. I'm > at the point of running pg_upgrade but have received anerror message: >=20 > /mga8/usr/bin/postgres: error while loading shared libraries: libssl.so.1= =2E1: > cannot open shared object file: No such file or directory > no data was returned by command ""/mga8/usr/bin/postgres" -V" >=20 > However: >=20 > [root@bach lib64]# cd /mga8/usr/lib64 I'm not familiar with the Mageia update process, but the paths look strange, Is it normal that old binaries and libraries are moved into a directory named after the old version (I assume "mga8" is short for Mageia version 8") or is this something you have done? In any case, /mga8/usr/lib64 would not normally be on the library search path, Have you somehow told /mga8/usr/bin/postgres to look there? hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --b4rr7gfayfgfanj5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmUAMdIACgkQ8g5IURL+ KF3FvA/+PNprQiwig2TeqYc6DTLLTFWW1kZ82e/ZmJkP3GTePZ8bxmcVdzu0snCV 8aFmEd4KrrE7PsYgQpPo8irHSTJ7yckXcrRVdsKzmU5LLk84+gdOPN/RYx9KhT4d gFOC2+dSv1/+xf6oZtD6DHTNHH8Rb4aQlnuMbDRzeTmX7SUWvxJAa2IcjM5IDpWf 2rzsQnl5Ksp1bDs9yD8SGjUJuWyxNgORPDjqU91ygPpUoQQbodss1nH+KD5+1wTh l6ERnC0Zk9Z5a67/NE5AEForMoJZWLxl7PDrXzgervw3c/QP/ZpXTAtUYVaps9Cw Aw6MivoexU4NLhhdpR9hre7wvE58wCWqtofxaa+qRmAsAkds//ZOV8Q2mQnhUA6+ BkQ1cxhmpPcRlZ5GIJlcsk0746Dm3NtH2dvUv9oIVZ9YPQ6uMc8ZWR20PD5iIGoM mYjmfoKOyk0XUL7kte7pNVeM10z5Ie7R3X7iEyC6HvcpT0tJW0p++I4BP0PuxM5x xkBU9WtXISKzTpjJuTaoMgqtwqSPLnZBt3JZ7u6uWJ9m1lEVi+LdSxoFT4LyAHqY PvnBS7KQX3F17ZxoDGCGtYC+DgfyZ/LNiFKm8BVnLTjQcDcSVmqfAro5unkroFN6 AbIHlZrS9kYKy1hG9P0jTqd269IGBexyNfvllXgOMKwtJsjDz6Q= =IeaE -----END PGP SIGNATURE----- --b4rr7gfayfgfanj5--