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.89) (envelope-from ) id 1guRdr-0007w3-Qa for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:46:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1guRdq-0000pX-Hf for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:46:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRdq-0000pP-3J for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:46:10 +0000 Received: from athena.simkin.ca ([2607:f040:1001:2::ff:2]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRdl-0000UF-O5 for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:46:08 +0000 Received: from skynet.simkin.ca (skynet.simkin.ca [IPv6:2607:f040:1001:103::1000]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by athena.simkin.ca (Postfix) with ESMTPSA id 00723DC696E9 for ; Thu, 14 Feb 2019 16:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.simkin.ca; s=athena; t=1550191562; bh=QJbaHkROkhZ+X2XfP+6AK4IBjUsP43ILgDPrVbjCWBM=; h=Subject:From:To:Date:From:To:Subject:Date:Reply-To; b=AWwJBoCvNvsMaPhVRHbChwyeiVRLLnhh9beNxJIKxmPaKcbFW1TUo5OVzUfeDWEDk 7fdnh8Vnzj9OwFZGmlzGikZMwTrl/Odp5GWOzwRRgss2D1Z6fKiqLYpv9OSuXzV7f3 troa7/ePRh++mxqWpQNj/kWWijxc0OfzfCC51z+Q8U0N0fd5tcn4TjoWh+gSn18N8Z SpraUyY6dqPFO8QENEZBM7wW+RUssuGZxCGR6VTpnuNot9HAsbtoj+oX4uvNd6JrOv Ymx+5PZyXWqRXCkjfA27TftfHjAWT3qLKozIqWymoOt0JCx/8LbElJbQRs279wLjDx gTzPRPhdYi2kQ== Received: from skynet.simkin.ca (skynet.simkin.ca [IPv6:::1]) by skynet.simkin.ca (Postfix) with ESMTP id A663F21A5CB84 for ; Thu, 14 Feb 2019 16:46:01 -0800 (PST) Message-ID: <1550191561.6868.15.camel@lists.simkin.ca> Subject: Re: loading plpython error From: Alan Hodgson To: pgsql-general Date: Thu, 14 Feb 2019 16:46:01 -0800 In-Reply-To: <3f590dd1-7a96-6966-5ef3-9ad15874c931@aklaver.com> References: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com> <3f590dd1-7a96-6966-5ef3-9ad15874c931@aklaver.com> Content-Type: multipart/alternative; boundary="=-NdNwmz0hi/wR+epa1XOp" X-PGP-Key: fp="EF82 6F8D A3BA A096 FFA3 05F2 A7A0 40A5 34E5 AA0B"; id="0x34E5AA0B"; get=; get= X-Mailer: Evolution 3.24.6 Mime-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-NdNwmz0hi/wR+epa1XOp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit > On 2/14/19 4:17 PM, Alan Nilsson wrote: > > Platform: Linux x86-64, CentOS 6, Postgres 11.1. > > > > We have installed from the YUM repo. The server runs fine but we > > are > > trying to add python support. > > > > yum install postrgesql11-contrib postgresql11-plpython > > > > I can see the installed files in the correct locations but when we > > invoke create extension, we are greeted with the following error: > > > > ERROR: could not load library "/usr/pgsql-11/lib/plpython2.so": > > /usr/pgsql-11/lib/plpython2.so: undefined symbol: getmissingattr > > > > Is there something yet to be installed? Is this a package error? > > Any > > hints to fixing? I see one possibly related issue talked about on a Debian list that extensions compiled against PostgreSQL 11.2 would likely not load into previous releases due to this missing symbol. https://bugs.launchpad.net/ubuntu/+source/skytools3/+bug/1815665 I would guess this is a related version mismatch; likely in the build/release process. --=-NdNwmz0hi/wR+epa1XOp Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
On 2/14/19 4:17 PM, Alan Nilsson wrote:
Platform:  Linux x86-64, CentOS 6, Postgres 11.1. We have installed from the YUM repo.  The server runs fine but we are trying to add python support. yum install postrgesql11-contrib postgresql11-plpython I can see the installed files in the correct locations but when we invoke create extension, we are greeted with the following error: ERROR:  could not load library "/usr/pgsql-11/lib/plpython2.so": /usr/pgsql-11/lib/plpython2.so: undefined symbol: getmissingattr Is there something yet to be installed?  Is this a package error?  Any hints to fixing?

I see one possibly related issue talked about on a Debian list that extensions compiled against PostgreSQL 11.2 would likely not load into previous releases due to this missing symbol.


I would guess this is a related version mismatch; likely in the build/release process.
--=-NdNwmz0hi/wR+epa1XOp--