Re: 7.2b2 "make check" failure on Red Hat Linux 7.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
Date
Msg-id 9284.1005938787@sss.pgh.pa.us
Whole thread Raw
In response to 7.2b2 "make check" failure on Red Hat Linux 7.2  (teg@redhat.com (Trond Eivind Glomsrød))
Responses Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Apology for email problems, again
Next
From: "Marc G. Fournier"
Date:
Subject: Re: [PG MAIL LISTS] SEND OUT ALL????