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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2005-04-27 17:34:16 Re: Inserting Using RowType
Previous Message John DeSoi 2005-04-27 17:19:23 Re: Inserting Using RowType