Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baTdD-0001d5-1N for pgsql-admin@arkaria.postgresql.org; Thu, 18 Aug 2016 20:09:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1baTdC-0007fN-KY for pgsql-admin@arkaria.postgresql.org; Thu, 18 Aug 2016 20:09:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1baTdC-0007f3-0P for pgsql-admin@postgresql.org; Thu, 18 Aug 2016 20:09:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1baTd9-0002QF-D3 for pgsql-admin@postgresql.org; Thu, 18 Aug 2016 20:09:36 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u7IK9XiC023035; Thu, 18 Aug 2016 16:09:34 -0400 From: Tom Lane To: Mark Steben cc: pgsql-admin Subject: Re: plpgsql.so undefined symbol error in pg_upgrade check In-reply-to: References: Comments: In-reply-to Mark Steben message dated "Thu, 18 Aug 2016 15:27:00 -0400" Date: Thu, 18 Aug 2016 16:09:33 -0400 Message-ID: <23034.1471550973@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Mark Steben writes: > I am planning a 9.,2 to 9.4 upgrade using pg_upgrade with the link option. > Thanks first to Tom Lane for the prompt answer last week. I have installed > 9.4 in the same disk as 9.2 and running pg_upgrade with the --check option > I get this error: > ERROR: could not load library > "/usr/local/pgsql_production/lib/plpgsql.so": > /usr/local/pgsql_production/lib/plpgsql.so: undefined symbol: errcontext This would seem to indicate that you are trying to load a 9.2 library into the 9.4 server or vice versa. You really need to have different lib directories, as well as different bin directories, for the two versions. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin