createdb script bug in 7.3RC2? - Mailing list pgsql-bugs

From Jean-Christian Imbeault
Subject createdb script bug in 7.3RC2?
Date
Msg-id 3DE4AE7B.7010302@mega-bucks.co.jp
Whole thread Raw
Responses Re: createdb script bug in 7.3RC2?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: createdb script bug in 7.3RC2?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
Seems to be a bug in the bin/createdb script. I tried to use the script
as is and got the following error:

$ createlang plpgsql JC
ERROR:  stat failed on file '$libdir/plpgsql': No such file or directory
createlang: language installation failed

But my PGLIB path is correct:

$ set | grep PG
PGDATA=/usr/local/pgsql/data
PGLIB=/usr/local/pgsql/lib

I editing bin/createdb, hard coding the value of PGLIB and createdb then
worked fine. The edits are given below.I don't know any shell scripting
or much about pg's internal so I have no idea why this problem occurs.

But I can see why createdb can't figure out by itself what the value of
PGLIB is.

The edits on bin/createlang:

189a190
 > PGLIB=/usr/local/pgsql/lib

Hope this helps. And if it is not a bug but a problem with my
installation, configuration please let me know.

Jc

pgsql-bugs by date:

Previous
From: Jean-Christian Imbeault
Date:
Subject: .3RC2 does not have datetime() function?
Next
From: george young
Date:
Subject: postgresql-7.3rc2 python interface fails