Re: loading plpython error - Mailing list pgsql-general

From Alan Nilsson
Subject Re: loading plpython error
Date
Msg-id 57961D12-982B-4C4C-9906-C359C09A495F@apple.com
Whole thread Raw
In response to Re: loading plpython error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Indeed, that was it.  Thank you Tom!

alan


> On Feb 14, 2019, at 4:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> 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
followingerror:
 
> 
>> 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
> 



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Next
From: Philippe Ebersohl
Date:
Subject: Using NOTIFY from a java application.