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

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


pgsql-hackers by date:

Previous
From: "Serguei Mokhov"
Date:
Subject: Re: Super Optimizing Postgres
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: 7.2b2 "make check" failure on Red Hat Linux 7.2