Tom Lane <tgl@sss.pgh.pa.us> writes:
> 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...
I have an existing installation of 7.1 on the system, that's why I did
"make check" in the build directory.
"--prefix=/usr" seems to be the "culprit" - without it, it regression
tests run just fine.
--
Trond Eivind Glomsrød
Red Hat, Inc.