Re: loading plpython error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alan Nilsson <anilsson(at)apple(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: loading plpython error
Date: 2019-02-15 00:42:41
Message-ID: 30313.1550191361@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alan Nilsson <anilsson(at)apple(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2019-02-15 00:46:01 Re: loading plpython error
Previous Message Adrian Klaver 2019-02-15 00:39:24 Re: loading plpython error