Skip site navigation (1) Skip section navigation (2)

Createlang error installing SQL-Ledger

From: "Roland Giesler" <roland(at)giesler(dot)za(dot)net>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Createlang error installing SQL-Ledger
Date: 2005-04-27 17:28:13
Message-ID: 20050427193913.7B69F141EA@mail.taxpoint.co.za (view raw or flat)
Thread:
Lists: pgsql-novice
I'm trying to install SQL-Ledger on a Mandrake 10.0 box, but I get the
following error
 
[root(at)localhost sql-ledger]# su postgres
[postgres(at)localhost sql-ledger]$ createuser
Enter name of user to add: sql-ledger
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) y
CREATE USER
[postgres(at)localhost sql-ledger]$ createlang plpgsql template1
createlang: language installation failed: ERROR:  could not access file
"$libdir/plpgsql": No such file or directory
[postgres(at)localhost sql-ledger]$

I have checked all requirements, and google cannot find anything to help me.
The faq at sql-ledger also doesn't help.

Some info:

[postgres(at)localhost sql-ledger]$ cd $libdir
[postgres(at)localhost pgsql]$ ls -l
total 12
drwx------  6 postgres postgres 4096 Apr 24 15:40 data
-rwxr-xr-x  1 root     root      338 Apr 24 15:16 initdb.i18n
drwx------  2 postgres postgres 4096 Apr 24 15:16 tmp
[postgres(at)localhost pgsql]$


What can I do to resolve this?

Thanks

Roland



Responses

pgsql-novice by date

Next:From: Michael FuhrDate: 2005-04-27 17:34:16
Subject: Re: Inserting Using RowType
Previous:From: John DeSoiDate: 2005-04-27 17:19:23
Subject: Re: Inserting Using RowType

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group