| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | Alan Nilsson <anilsson(at)apple(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: loading plpython error |
| Date: | 2019-02-15 00:34:49 |
| Message-ID: | a0fd48ce-eebd-60df-dac0-0d1ff3f2af5f@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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?
What happens if you try?:
CREATE EXTENSION plpython3u;
>
> thanks
> alan
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2019-02-15 00:39:24 | Re: loading plpython error |
| Previous Message | Bruce Klein | 2019-02-15 00:33:48 | WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2 |