teg@redhat.com (Trond Eivind Glomsrød) writes:
> /home/devel/teg/postgresql-7.2b2/src/test/regress/./tmp_check/install//usr/bin/pg_encoding: relocation error:
/home/devel/teg/postgresql-7.2b2/src/test/regress/./tmp_check/install//usr/bin/pg_encoding:undefined symbol:
pg_valid_server_encoding
> initdb: pg_encoding failed
pg_encoding relies on libpq to supply the pg_valid_server_encoding()
subroutine, but that subroutine is only compiled into libpq in a
MULTIBYTE build. I speculate that your executable was picking up
a non-MULTIBYTE libpq shared library from someplace. Check ldconfig
and all that stuff...
FWIW, both multibyte and non-multibyte builds are working OK for me
in current sources.
regards, tom lane