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 1uSaPw-009ndt-T3 for pgsql-general@arkaria.postgresql.org; Fri, 20 Jun 2025 12:00:25 +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 1uSaPv-0011qy-07 for pgsql-general@arkaria.postgresql.org; Fri, 20 Jun 2025 12:00:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uSaPu-0011pi-Jn for pgsql-general@lists.postgresql.org; Fri, 20 Jun 2025 12:00:23 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uSaPs-0037Ir-2P for pgsql-general@lists.postgresql.org; Fri, 20 Jun 2025 12:00:22 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-450cf214200so16856685e9.1 for ; Fri, 20 Jun 2025 05:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1750420819; x=1751025619; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=lquQVlk7MROhbx2oiqQjlYOXFQLaELhXuGOtvY6mavk=; b=A++5LB2obVHtrhTGAK6dg/VmSxkqAt6AIG8shEAV8AdbY8/3U1tzUiC9Jrja9dmsy6 MG8+xmcW4txknSCiYuGf1lXLsjp2ppbZ1XUGKCluFrX8ALhN69K37/maRAVQAM/Oen/e SihWL5GegfMM3Kv78TWTkgmAtXr11YyFNVM8fvQAXpqc4WEiVDbyAx4I6sUF62W+2rlK cJadZohkJzlAgmLJrclpO02J8Fr7JBq6Wi4DQukiJJ2TOwvhjjswilL3Yhed4Lt9PnsJ K+Po8NCnroqy3wHzHHeYVE/we29DxLUleRDVHogQRqMx5UFn7rrOhq4p8PU0Gk2rhbof 0i8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750420819; x=1751025619; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lquQVlk7MROhbx2oiqQjlYOXFQLaELhXuGOtvY6mavk=; b=RKz/NOj6CPgu+Z81DYc7+QcnefSLUpThjztv0gfD/DjIAyzanjXtRG4NJRkvDplzXj FmSUpsvR5bvRIaIZOSn+1Zg9ekbrbFSfQB48AyRTfOj6xzZ7bV/eTT3NzN+8chrdO7iN OqzM3FAymnE9N66spqd25dogAd5vTxwiWgbgDy/IjYsPBIJ68VWrz3T740av+ex875VR x0+WQgRx40ayzatsT0LD+XxSrspL1dij5B+UXcnq1YyQEjauHFRJLCVJsMw3U8qen80c QNAaLjc4EOwVxL7yC2uqBc/cfwNrmmO2J0Llt1/MNBmC43Aq1lInS3iAACYdVu9VOFKz 2FgQ== X-Forwarded-Encrypted: i=1; AJvYcCU2CeZnYYmEbSVNgYceJ+SUk0NesZjp0bCYdnuizbrKkK7Sv/KvhuvVpHyjfM53m0WHqiEIWae09sZHPbDe@lists.postgresql.org X-Gm-Message-State: AOJu0YwTo6mf9mNuII634Q5ApvOQJK5LFQ1thYsr9/wMTaWNet4ExITb 8EodzAgk7Xf9fO6m09QEFYkNytBY1k1iqUr54CyRIBgS+n4hyitR8V4KmKbXba2proPivSTp+YS 1+cgm X-Gm-Gg: ASbGncsTvJblhhX/p71cSzGG5vs3eYa4Ef5nGVehPYNkvwhlvGt2+5cyCyk/1BTMLzI 3Ag75NuyjiVSX6Zn1qK9PUMx6KjjgcrLvSzvR/P25oIA/7ZT3XK7/iPbEcgtEM7qKzKnCdBbh9Q k+ApHiTz4J/kB/jHa35dAvCyvTNCqq0tT1yuHxGm+WXX0X/IJG8BjpO+15V6dpF4Sa2PpxSb5AG YR4cOBgQ4L+Gjuni8/h82V6K1bN3q7PZUHq0O0VrlsAHIVDhPPVaRRQSQkNtscjf+mbuvKOkEBc 3iJLxV9HG+ybQrsAfO5vl5RjFG1RCxgufsfzsdwp+xwd+L/XZee9PmoGu3hup+t6vVB8kH+2WtD Owze/K0UN6q2fpZCa X-Google-Smtp-Source: AGHT+IFomJX8dQIqr23VRKHKhDU0n/ZVxlz8b6+eH57VjlwSKtg4Pj+6bbEKwwsudDtm8WR2omZKdQ== X-Received: by 2002:a05:600c:4e8a:b0:43d:1b74:e89a with SMTP id 5b1f17b1804b1-453659ca684mr26956375e9.9.1750420819053; Fri, 20 Jun 2025 05:00:19 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:5e:eac7:e2dc:859f:47d5:4144]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45365af83easm18837175e9.25.2025.06.20.05.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jun 2025 05:00:18 -0700 (PDT) Message-ID: Subject: Re: undefined symbol: PQcancelStart From: Laurenz Albe To: Peter =?ISO-8859-1?Q?R=F6thlisberger?= , pgsql-general@lists.postgresql.org Date: Fri, 20 Jun 2025 14:00:17 +0200 In-Reply-To: <4DFE733D-51B8-4A15-9FB8-C6FFF73E6338@zen-innovations.com> References: <4DFE733D-51B8-4A15-9FB8-C6FFF73E6338@zen-innovations.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2025-06-20 at 13:49 +0200, Peter R=C3=B6thlisberger wrote: > Hello all, >=20 > Platform: Rocky Linux release 9.4 (Blue Onyx) >=20 > I try to migrate from version 16.7 to 17.5. When executing pg_upgrade =E2= =80=94check I get the following: >=20 >=20 > could not load library "$libdir/dblink": ERROR: =C2=A0could not load libr= ary "/opt/postgresql-17.5/lib/dblink.so": /opt/postgresql-17.5/lib/dblink.s= o: undefined symbol: PQcancelStart > In database: zen_dev1 > In database: zen_prod2 > could not load library "$libdir/postgres_fdw": ERROR: =C2=A0could not loa= d library "/opt/postgresql-17.5/lib/postgres_fdw.so": /opt/postgresql-17.5/= lib/postgres_fdw.so: undefined symbol: PQcancelStart > In database: zen_dev1 >=20 > I =C2=A0tried hard to find a hint on the net. No success hence my first p= ost here. I was able to execute the update on another server having the sam= e OS. How did you install "dblink.so" and "postgres_fdw.so"? It looks like you copied them from the old installation. That won't work. Yours, Laurenz Albe