Mladen Gogala <mgogala@vmsinfo.com> writes:
> I can't install plpython:
> bash-3.2$ createlang --echo plpythonu template1
> SELECT oid FROM pg_catalog.pg_language WHERE lanname = 'plpythonu';
> CREATE LANGUAGE "plpythonu";
> createlang: language installation failed: ERROR: could not access file
> "$libdir/plpython": No such file or directory
> Everything is installed from the official pgdg84 repository:
> -bash-3.2$ rpm -qa|grep postgres
> compat-postgresql-libs-4-1PGDG.rhel5
> postgresql-server-8.4.4-2PGDG.el5
> postgresql-plperl-8.4.4-2PGDG.el5
> postgresql-libs-8.4.4-2PGDG.el5
> postgresql-python-3.8.1-7PGDG.rhel5
> postgresql-jdbc-8.4.701-1PGDG.rhel5
> postgresql-8.4.4-2PGDG.el5
> postgresql-contrib-8.4.4-2PGDG.el5
I think you're missing the postgresql-plpython RPM. postgresql-python is
a client-side library, not the PL.
regards, tom lane