DoOrDoNot
DoOrDoNot

Reputation: 1156

plpython, no such directory error in postgresql (ubuntu)

I installed the following package:

sudo apt-get install postgresql-plpython-8.4

But while using:

user=# create language plpythonu;

Error is thrown:

ERROR:  could not access file "$libdir/plpython2": No such file or directory

What am I missing here ?

Upvotes: 1

Views: 372

Answers (1)

DoOrDoNot
DoOrDoNot

Reputation: 1156

I was using psql 9.1 and was installing postgresql-plpython-8.4. Should have run this:

sudo apt-get install postgresql-plpython-9.1

Upvotes: 1

Related Questions