Martin Pitt <martin@piware.de> writes:
> ./configure --libdir=3D/usr/lib/postgresql/8.1/lib --bindir=3D/usr/lib/pos=
> tgresql/8.1/bin
> is enough to reproduce the problem. With only --libdir, it works, and
> with only --bindir the test suite does not run at all because the
> postmaster cannot find $libdir (but that is still justifiable).
Try adding --datadir=/usr/lib/postgresql/8.1/share to that. Actually,
you'd be best off replacing all three options with
--prefix=/usr/lib/postgresql/8.1
because that will make sure that the entire installation is consistent.
regards, tom lane