=?gb18030?B?u9i4tKO6IFtHRU5FUkFMXSBDYW4ndCBjcmVhdGUg?= =?gb18030?B?cGxweXRob24gbGFuZ3VhZ2U=?= - Mailing list pgsql-general

From guxiaobo1982
Subject =?gb18030?B?u9i4tKO6IFtHRU5FUkFMXSBDYW4ndCBjcmVhdGUg?= =?gb18030?B?cGxweXRob24gbGFuZ3VhZ2U=?=
Date
Msg-id tencent_1F57E79F23F9CC255FFF080D@qq.com
Whole thread Raw
Responses Re: [GENERAL] 回复: [GENERAL] Can't create plpython language  (Raghavendra <raghavendra.rao@enterprisedb.com>)
List pgsql-general
I tried pgdg-centos92-9.2-6.noarch.rpm following http://www.postgresonline.com/journal/archives/203-postgresql90-yum.html, 
I installed "postgresql92-plpython.x86_64               9.2.4-1PGDG.rhel5           installed,"

but it still does not work

[postgres@lix PostgreSQL]$ psql 
Password: 
psql (9.2.4)
Type "help" for help.

postgres=# create language plpython2u;
ERROR:  could not access file "$libdir/plpython2": No such file or directory
postgres=# create language plpython3u;
ERROR:  could not access file "$libdir/plpython3": No such file or directory
postgres=# \q

There are python 2.4.3 and python3.2 on the same machine,.


------------------ 原始邮件 ------------------
发件人: "Jov"<amutu@amutu.com>;
发送时间: 2013年7月5日(星期五) 上午7:59
收件人: "Michael Paquier"<michael.paquier@gmail.com>;
抄送: ""<guxiaobo1982@qq.com>; "pgsql-general"<pgsql-general@postgresql.org>;
主题: Re: [GENERAL] Can't create plpython language

try the postgresql official rpm package for centos 5:
http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-centos92-9.2-6.noarch.rpm

or build your own from source.



2013/7/5 Michael Paquier <michael.paquier@gmail.com>
On Thu, Jul 4, 2013 at 6:26 PM, guxiaobo1982 <guxiaobo1982@qq.com> wrote:
> Hi,
>
> I am running PostgreSQL 9.2.4.1 (from EnterpriseDB) on CENTOS 5.9 X64
> server, I got the following errors when trying to create the python language
> handler, can you help with this, thanks in advance.
If this is PPAS, as the version number would suggest, you should
directly ask this question to EDB support team. This problem might not
be related to Postgres itself... At least the buildfarm machines do
not crash when trying to install a plpython extension.
--
Michael


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Jayadevan M
Date:
Subject: query on query
Next
From: Luca Ferrari
Date:
Subject: Re: query on query