| From: | Alan Nilsson <anilsson(at)apple(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: loading plpython error |
| Date: | 2019-02-15 17:17:05 |
| Message-ID: | 57961D12-982B-4C4C-9906-C359C09A495F@apple.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Indeed, that was it. Thank you Tom!
alan
> On Feb 14, 2019, at 4:42 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> 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
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Philippe Ebersohl | 2019-02-15 17:21:14 | Using NOTIFY from a java application. |
| Previous Message | Tom Lane | 2019-02-15 17:13:10 | Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2 |