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 1pzQv0-00045q-EH for pgsql-bugs@arkaria.postgresql.org; Wed, 17 May 2023 23:50:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pzQuy-0008AO-1m for pgsql-bugs@arkaria.postgresql.org; Wed, 17 May 2023 23:50:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pzQux-0008AF-Q4 for pgsql-bugs@lists.postgresql.org; Wed, 17 May 2023 23:50:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pzQur-000OOx-Sw for pgsql-bugs@lists.postgresql.org; Wed, 17 May 2023 23:50:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 34HNogGt3609321; Wed, 17 May 2023 19:50:42 -0400 From: Tom Lane To: Jeff Janes cc: Dippu Kumar , pgsql-bugs@lists.postgresql.org Subject: Re: Need Support to Upgrade from 13.6 to 15.3 In-reply-to: References: Comments: In-reply-to Jeff Janes message dated "Wed, 17 May 2023 19:43:47 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3609319.1684367442.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Wed, 17 May 2023 19:50:42 -0400 Message-ID: <3609320.1684367442@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jeff Janes writes: > On Tue, May 16, 2023 at 5:07 AM Dippu Kumar wrote: >> /usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main >> --auth-local peer --auth-host scram-sha-256 --no-instructions >> /usr/lib/postgresql/15/bin/initdb: symbol lookup error: >> /usr/lib/postgresql/15/bin/initdb: undefined symbol: PQmblenBounded > I can't reproduce this. This is pretty clearly a case of the initdb executable binding to an old copy of libpq.so. You could find out which one by running "ldd /usr/lib/postgresql/15/bin/initdb". Then, update that installation to something released in the last two years. Or perhaps better, fix your dynamic linker search path so that it finds the libpq.so that came with your v15 Postgres installation. regards, tom lane