From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Alan Nilsson <anilsson@apple.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: loading plpython error
Date: Thu, 14 Feb 2019 16:34:49 -0800
Message-ID: <a0fd48ce-eebd-60df-dac0-0d1ff3f2af5f@aklaver.com> (raw)
In-Reply-To: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com>
References: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com>
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.klaver@aklaver.com
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: adrian.klaver@aklaver.com, anilsson@apple.com
Subject: Re: loading plpython error
In-Reply-To: <a0fd48ce-eebd-60df-dac0-0d1ff3f2af5f@aklaver.com>
References: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com> <a0fd48ce-eebd-60df-dac0-0d1ff3f2af5f@aklaver.com>
* 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