From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alan Nilsson <anilsson@apple.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: loading plpython error
Date: Thu, 14 Feb 2019 19:42:41 -0500
Message-ID: <30313.1550191361@sss.pgh.pa.us> (raw)
In-Reply-To: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com>
References: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com>
Alan Nilsson <anilsson@apple.com> writes:
> 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
getmissingattr is a new core-PG function in 11.2. I believe this means
you're trying to load an 11.2 build of plpython2.so into an 11.1 server.
You need to either update the server, or find an 11.1 build of plpython.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, anilsson@apple.com
Subject: Re: loading plpython error
In-Reply-To: <30313.1550191361@sss.pgh.pa.us>
References: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com> <30313.1550191361@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox